api-keys
Rotate Api Key
Rotate an API key.
Creates a replacement key with the same name. The old key continues to authenticate for a 24-hour grace period (its expires_at is set to now + 24h), giving deployments time to roll the new credential.
Returns the new plaintext key exactly once. Requires JWT authentication.
post/api/api-keys/{key_id}/rotate
Request
- Base URL: https://www.gateco.ai (the document declares no server; this is the origin it was published from)
- URL: https://www.gateco.ai/api/api-keys/{key_id}/rotate
- Auth: OAuth 2 (password, token URL /api/auth/login)
Path parameters
key_idstring uuid required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.