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

Documentation Index

Fetch the complete documentation index at: https://docs.totalis.trade/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Privy JWT issued to the web dashboard. Sent as Authorization: Bearer <jwt>. The Privy session signer underpins all wallet-signed actions.

Path Parameters

prefix
string
required

Key prefix returned by listApiKeys / createApiKey (key_prefix).

Response

API key revoked