V2 (Stable)
cURL
curl --request POST \ --url https://api.village.do/v2/auth/tokens/revoke \ --header 'Authorization: Bearer <token>'
{ "data": { "message": "Token revoked successfully" }, "metadata": { "request_id": "<string>" } }
Invalidate the current Bearer token. After revocation, this token can no longer be used. Generate a new token via Create Authorization if needed.
demo_token_global
Token revoked successfully
Token revocation response
Show child attributes
Was this page helpful?