Using DelegateAuthRequest SOAP API

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Posts: 7
Joined: Sat Sep 13, 2014 3:57 am

Using DelegateAuthRequest SOAP API

Postby jmckay123 » Mon Apr 27, 2015 8:46 pm

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="">
< 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>

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 0 guests