Invalidate Token

Invalidate Token

The value of 'current' could also be provided for the URL auth-token parameter when the request's authentication method is bearer token.

Request
URI
DELETE
https://{api_host}/api/1.0.0/sessions/{auth-token}
COPY
Path Parameters
string
auth-token
Required

auth-token which is being invalidated


Authentication
This operation uses the following authentication methods.
Responses
204

The server successfully processed the request. Response Body is empty.

Operation doesn't return any data structure

400

If the Authorization header of the request does not use a Bearer token, the specific auth-token must be passed as a URL parameter instead of using "current".

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/1.0.0/sessions/{auth-token}
                
Availability
Added in 35
Invalidate Token Operations
DELETE
Invalidate Token