API Keys

Revoke Api Key

DELETE
/v1/api-keys/{apiKeyId}
AuthorizationBearer <token>

API key minted via POST /v1/api-keys (format mk_live_...)

In: header

Path Parameters

apiKeyIdstring
Length1 <= length

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.mentio.dev/v1/api-keys/key_abc123"
{
  "revoked": true
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}