Rotate this tenant's API key

Mints a new API key and immediately invalidates the current one. Authenticate with the current key; the response is the only place the new raw key is returned (only its SHA-256 is stored).

post/v1/api-key/rotate

Request

  • Base URL: https://api.klanexai.com
  • URL: https://api.klanexai.com/v1/api-key/rotate
  • Auth: API key in header X-API-Key

Response

A new API key. Store it now — it is shown only once.

tenant_idstring
api_keystring

Changes

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