/
ReleaseToken (v2)

ReleaseToken (v2)

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>

 

 

Related content

ReleaseToken (v3)
ReleaseToken (v3)
More like this
RequestToken (v2)
RequestToken (v2)
More like this
RequestToken (v3)
RequestToken (v3)
More like this
DeleteUser (v2)
More like this
DeleteUser (v3)
More like this
UpdateUser (v2)
More like this