Auth

Revoke an API key

Revokes one of your API keys at once, in whichever of your workspaces it acts. Requests that send it then answer 401 with code API_KEY_REVOKED. Revoking frees a place under the plan's apiKeys limit.

delete/v1/auth/keys/{id}

Request

  • Base URL: https://api.zindex.ai
  • URL: https://api.zindex.ai/v1/auth/keys/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring required

The key's id, as POST /v1/auth/keys returned it

Response

Revoked

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.