Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request DELETE \
--url https://{instance}.omniapp.co/api/v1/api-keys/{id} \
--header 'Authorization: Bearer <token>'{
"message": "API token revoked",
"success": true
}This endpoint requires Organization Admin permissions.
Permanently delete an API token. Works for all token types — Organization API keys, Personal Access Tokens (PATs), and MCP OAuth grants. This is the same as revoking a token in the Omni app.
Concurrent deletes are safe — the first caller receives 200 and the second receives 404 consistently. An Organization Admin can delete the token they authenticated with, which is useful for self-service rotation.
curl --request DELETE \
--url https://{instance}.omniapp.co/api/v1/api-keys/{id} \
--header 'Authorization: Bearer <token>'{
"message": "API token revoked",
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
UUID of the token to revoke. The token must belong to the same organization as the authenticating user.
Was this page helpful?