Skip to main content
POST
Refresh API Key

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_

Body

application/json
apiKeyDaysValid
number
default:30

For how many days is managed organization api key valid. Defaults to 30 days.

Required range: x >= 1
Example:

60

apiKeyNeverExpires
boolean

If true, organization api key never expires.

Example:

true

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required