v1
latestOpenAPI 3.0.02026-07-17121287546.7 KBApi Keys
Refresh API Key
Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").
post/v2/api-keys/refresh
Headers
Authorizationstring required
value must be Bearer <token> where <token> is api key prefixed with cal_
Request body
Example request
{
"apiKeyDaysValid": 60,
"apiKeyNeverExpires": true
}Response
Example response
{
"status": "success"
}