MCP is live.Set upAsk the community
OmniDimension
Reseller clients

Revoke a client API key

Revoke one of a client user's API keys. The key stops working on the next request. Pass the key's api_key_id, or 0 for the default key every account gets at signup. Revoking a key that is already revoked succeeds. GET /reseller/organizations lists each user's active keys by id and name.

Reseller accounts only. Request access.

POST/reseller/users/api-keys/revoke
Body
2 fields
·

ID of the client user who owns the key.

The key's ID, or 0 for the default key the account got at signup.

curl -X POST 'https://backend.omnidim.io/api/v1/reseller/users/api-keys/revoke' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_id": 1234,
  "api_key_id": 88
}'
Example response
synthetic
{
  "success": true,
  "revoked": true,
  "api_key_id": 88
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Request Body

application/json
user_id*integer

ID of the client user who owns the key.

api_key_id*integer

The key's ID, or 0 for the default key the account got at signup.

Range0 <= value

Response body

application/json

Response Body

Key revoked.

application/json
success?boolean
revoked?boolean
api_key_id?integer