API Keys
POST /api-keys/{id}/rotate
Changed onRequest
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
idinteger required
API key ID
Response
API key rotated successfully; the response contains the new plaintext secret, shown only once
Example response
{
"created_at": "2024-01-01T00:00:00Z",
"expires_at": "2024-12-31T23:59:59Z"
}Changes
- info
added the optional property
environment_idto the response with the status - info
added the optional property
project_idto the response with the status
- info
- info
added the non-success response with the status
- info