Revoke Token

Invalidate the current access token before it expires.

DELETE
/api/v1/auth/token

Description

Revokes the bearer token sent in the Authorization header. After revocation, the token cannot be used for further API requests.

Request

Headers

HeaderValueRequired
AuthorizationBearer <access_token>Yes
Content-Typeapplication/jsonYes

Response

FieldTypeDescription
successbooleanWhether the token was revoked.
messagestringHuman-readable confirmation (e.g. "Token revoked successfully.").

Related Endpoints

Did this page help you?