Skip to main content
DELETE
/
v1
/
admin
/
tenants
/
{id}
/
api-keys
/
{keyId}
Delete tenant API key
curl --request DELETE \
  --url http://co-mind-platform-host/v1/admin/tenants/{id}/api-keys/{keyId} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "message": "Invalid authentication credentials",
    "type": "permission_error",
    "code": "unauthorized"
  }
}

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 tenant ID

keyId
string
required

The API key ID

Response

API key deleted