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
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}