POST
/
api
/
v1
/
auth
/
token-auth
/
tokens
/
{tokenId}
/
revoke
cURL
curl --request POST \
  --url https://us.infisical.com/api/v1/auth/token-auth/tokens/{tokenId}/revoke \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

tokenId
string
required

The ID of the token to revoke.

Response

Default Response

The response is of type object.