Backend API
cURL
curl --request POST \ --url https://api.wacht.dev/api-auth/apps/{app_slug}/keys/{key_id}/revoke \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "reason": "<string>" } '
{ "message": "<string>" }
Revoke an API key by ID within a specific app
API key authentication (format: Bearer {api_key})
API Auth app name
API key ID
Reason for revocation
API key revoked
Was this page helpful?