DELETE /tokens/current

Revoke the current token

Revoke the personal access token presented on this request (self-revoke). The same token stops authenticating on its very next request. Returns 422 NOT_REVOCABLE when the acting credential is not a revocable public_api token (for example an internal sites token or a transient credential).

Responses