API Keys

Revoke an API key

Deletes the key at API Gateway, immediately invalidating it everywhere. Deleting a key that does not exist is not an error — the handler swallows the exception and returns {}.

delete/teams/{id}/keys/{key_id}

Request

  • Base URL: https://api.indexone.io
  • URL: https://api.indexone.io/teams/{id}/keys/{key_id}
  • Auth: API key in header x-api-key and API key in header Authorization

Path parameters

idstring required

Team id.

key_idstring required

The key's id (not its value).

Response

Revoked. Returns {"id": ...} on success, or {} if the key did not exist.

idstring

Changes

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