ReleaseToken (v3)

ReleaseToken (v3)

Overview

Releases a token

The function is available as a Web Service request.

Request

Parameters of the API request:

Parameter

Type

Description

Requirements

Parameter

Type

Description

Requirements

token

String

Token to be deleted

Mandatory

Response

Parameters of the API response:

Parameter

Type

Description

Parameter

Type

Description

status

Status

Possible return values:

Examples

 

Example ReleaseToken transaction.
Request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://v3.provisioning.ws.web.verba.com/"> <soapenv:Header/> <soapenv:Body> <v3:releaseToken> <token>8VedLjOI56djHA5Q2SryAEmOaSuXF05m</token> </v3:releaseToken> </soapenv:Body> </soapenv:Envelope> Response: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:releaseTokenResponse xmlns:ns2="http://v3.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:v3="http://v3.provisioning.ws.web.verba.com/"> <soapenv:Header/> <soapenv:Body> <v3:releaseToken> <token>8VedLjOI56djHA5Q2SryAEmOaSuXF05m</token> </v3:releaseToken> </soapenv:Body> </soapenv:Envelope> Response: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:releaseTokenResponse xmlns:ns2="http://v3.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>