auth

Rotate API key

Generate a new API key for this account. The old key is immediately invalidated. Requires authentication (API key or session).

post/v1/auth/keys/rotate

Request

  • Base URL: https://agentlair.dev
  • URL: https://agentlair.dev/v1/auth/keys/rotate
  • Auth: HTTP bearer

Response

New key generated

api_keystring

New API key — save immediately

key_prefixstring
account_idstring
rotated_atstring date-time
warningstring

Changes

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