This API is used to delete a token no matter whether the token has expired or not.
DELETE /v3/auth/tokens
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Obtained token.
|
X-Subject-Token |
Yes |
String |
Token to be deleted. |
curl -i -k -H "X-Auth-Token:$token" -H "X-Subject-Token:$token" -X DELETE https://sample.domain.com/v3/auth/tokens
None
Status Code |
Description |
---|---|
204 |
The request is successful. |
400 |
The server failed to process the request. |
401 |
Authentication failed. |
403 |
Access denied. |
404 |
The requested resource cannot be found. |
503 |
Service unavailable. |