Skip to main content
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>"
}

Documentation Index

Fetch the complete documentation index at: https://infisical.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

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

message
string
required