Skip to main content
DELETE
/
auth
/
apiTokens
/
{apiTokenId}
Revoke API token
curl --request DELETE \
  --url https://api.galtea.ai/auth/apiTokens/{apiTokenId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "API token revoked successfully"
}

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Path Parameters

apiTokenId
string
required

Response

API token revoked successfully

message
string
Example:

"API token revoked successfully"