Service: zimbraAccount
Namespace: "urn:zimbraAccount"
RenewMobileGatewayAppToken SOAP Command

When the app auth token expires, the app can request a new auth token.

Authorization token required false
Admin Authorization token required false

RenewMobileGatewayAppTokenRequest

    <RenewMobileGatewayAppTokenRequest> ## RenewMobileGatewayAppTokenRequest
        <appId>{appId} (String)</appId>
        <appKey>{appKey} (String)</appKey>
    </RenewMobileGatewayAppTokenRequest>

The following table describes elements and attributes you can define within a <RenewMobileGatewayAppTokenRequest> element:

XPath Required / Optional Description
/appId Required (only 1) Type:{appId} (String)
App ID
/appKey Required (only 1) Type:{appKey} (String)
App secret key

RenewMobileGatewayAppTokenResponse

    <RenewMobileGatewayAppTokenResponse> ## RenewMobileGatewayAppTokenResponse
        <authToken [verifyAccount="(0|1)"] [lifetime="(Long)"]>{value}</authToken> ## AuthToken
    </RenewMobileGatewayAppTokenResponse>

The following table describes elements and attributes you can define within a <RenewMobileGatewayAppTokenResponse> element:

XPath Required / Optional Description
/authToken Required (only 1) Type:{value}
app account auth token
Description for element text content:Value for authorization token
/authToken@verifyAccount Optional (0 or 1) Type:0|1
If verifyAccount="1", <account> is required and the account in the auth token is compared to the named account. If verifyAccount="0" (default), only the auth token is verified and any <account> element specified is ignored.
/authToken@lifetime Optional (0 or 1) Type:Long
Life time of the auth token