Revoke API Token
DELETE/users/me/api-tokens/:token_name
Revoke one of the authenticated user's API tokens so it can no longer be used. The path takes the token_id from the list (preferred), the literal 'self' (logout: revokes the API token that makes this call; a web session gets 400), or a token name (deprecated: revokes every token with that name). Returns 204 on success and 404 when nothing matched.
Request
Responses
- 204
- 422
Successful Response
Validation Error