Skip to main content
DELETE
/
user
/
api-keys
/
{prefix}
Revoke API Key
curl --request DELETE \
  --url https://api.totalis.com/user/api-keys/{prefix} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Missing or invalid authentication"
  }
}

Authorizations

Authorization
string
header
required

Privy JWT token. Use Authorization: Bearer <token>. Supported for REST API only.

Path Parameters

prefix
string
required

API key prefix (e.g., api_live_abc)

Response

API key revoked