Skip to end of metadata
Go to start of metadata

Overview

Releases a token

The function is available as a Web Service request.

Request

Parameters of the API request:

ParameterType

Description

Requirements
tokenStringToken to be deletedMandatory

Response

Parameters of the API response:

ParameterType

Description

statusStatus

Possible return values:

    • OK
    • ERROR_GENERAL
    • ERROR_UNAUTHORIZED

Examples

 

 Example ReleaseToken transaction.
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.
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>