Admin Tokens API

Manage API tokens for users. Requires Admin API key authentication.

DELETE/admin/tokens/{token_id}

Revoke Token

Revoke an API token, preventing it from being used for authentication.

Authentication

Requires Admin API Key in X-Admin-API-Key header.

Path Parameters
token_id
token_idstringRequired

The token ID to revoke

Code Examples
curl -X DELETE "https://api.cloud.vexa.ai/admin/tokens/{token_id}" \
  -H "X-Admin-API-Key: YOUR_ADMIN_API_KEY" \
  -H "Content-Type: application/json"
Notes
  • Revoked tokens cannot be restored
  • Users will need to create a new token if they lose access