cURL
curl --request DELETE \ --url https://api.totalis.com/user/api-keys/{prefix} \ --header 'Authorization: Bearer <token>'
{ "error": { "code": "UNAUTHORIZED", "message": "Missing or invalid authentication" } }
Revoke one of the authenticated user’s API keys by its prefix. The key will immediately stop working.
Privy JWT token. Use Authorization: Bearer <token>. Supported for REST API only.
Authorization: Bearer <token>
API key prefix (e.g., api_live_abc)
api_live_abc
API key revoked
Was this page helpful?