Overview
Releases a token
The function is available as a Web Service request.
Request
Parameters of the API request:
Parameter | Type | Description | Requirements |
---|
token | String | Token to be deleted | Mandatory |
Response
Parameters of the API response:
Parameter | Type | Description |
---|
status | Status | Possible return values: - OK
- ERROR_GENERAL
- ERROR_UNAUTHORIZED
|
Examples
Â
 Example ReleaseToken transaction.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://v2.provisioning.ws.web.verba.com/">
<soapenv:Header/>
<soapenv:Body>
<v2:releaseToken>
<token>8VedLjOI56djHA5Q2SryAEmOaSuXF05m</token>
</v2:releaseToken>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:releaseTokenResponse xmlns:ns2="http://v2.provisioning.ws.web.verba.com/">
<return>
<statusCode>OK</statusCode>
</return>
</ns2:releaseTokenResponse>
</S:Body>
</S:Envelope>
 Example ReleaseToken on an invalid token.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://v2.provisioning.ws.web.verba.com/">
<soapenv:Header/>
<soapenv:Body>
<v2:releaseToken>
<token>8VedLjOI56djHA5Q2SryAEmOaSuXF05m</token>
</v2:releaseToken>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:releaseTokenResponse xmlns:ns2="http://v2.provisioning.ws.web.verba.com/">
<return>
<message>This token is expired or never got authenticated.</message>
<statusCode>ERROR_UNAUTHORIZED</statusCode>
</return>
</ns2:releaseTokenResponse>
</S:Body>
</S:Envelope>
Â
Â