cURL
curl --request POST \ --url https://us.infisical.com/api/v1/auth/token-auth/tokens/{tokenId}/revoke \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Revoke token for identity with Token Auth
An access token in Infisical
The ID of the token to revoke.
Default Response
The response is of type object.
object
Was this page helpful?