Revoke the workspace API token

Clears the workspace's entire apiConfig — the API token and the configured outgoing webhook (URL, secret, technical email).

⚠️

Self-revoking and not recoverable. After this call the token used to make it no longer authenticates, and API access can only be restored from the Elai web app. Webhook configuration is destroyed too, not merely disabled.

Recorded in the CloudWatch audit log (api / ApiTokenRevoked).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

🚧

Before you call this

Self-revoking and not recoverable. After this call the token used to make it no longer authenticates, and API access can only be restored from the Elai web app. Webhook configuration is destroyed too, not merely disabled.

curl -X POST 'https://apis.elai.io/api/v1/revokeToken' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
Responses
204

Token and webhook configuration removed.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json