POST
/
api
/
v1
/
auth
/
token-auth
/
tokens
/
{tokenId}
/
revoke
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

200
application/json
Default Response
message
string
required