Workspace

Rotate an API key

Issues a replacement and revokes the old one.

post/v1/api-keys/{id}/rotate

Request

  • Base URL: https://www.chatrail.dev
  • URL: https://www.chatrail.dev/v1/api-keys/{id}/rotate
  • Auth: API key in cookie chatrail_session

Path parameters

idstring required

Key id.

Response

The new key, once.

Changes

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