Page 1 of 1

Using DelegateAuthRequest SOAP API

Posted: Mon Apr 27, 2015 8:46 pm
by jmckay123

My app is using direct XML, not one of the libraries.  I use AuthRequest to obtain a token for the administrator.  I then try to call DelegateAuthRequest, using that token, to obtain a new token for my user.  I am getting http error 500 (document not found).  Can somebody explain why this does not work?  Do I need to set some security feature in Zimbra?



<?xml version="1.0" encoding="utf-8"?>
< soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
< soap:Header>
< context xmlns="urn:zimbra">
< authToken>0_1de35e9c3928d1f15105dce...3b</authToken>
< format type="js"/>
< /context>
< /soap:Header>
< soap:Body>
< DelegateAuthRequest xmlns="urn:zimbraAdmin">
< account by="name">jmckay12</account>
< /DelegateAuthRequest>
< /soap:Body>
< /soap:Envelope>