Skip to main content
DELETE
/
v1
/
api-tokens
/
{id}
Revoke API token
curl --request DELETE \
  --url http://co-mind-platform-host/v1/api-tokens/{id} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Path Parameters

id
string
required

The token ID

Response

204

Token revoked successfully