Skip to main content
PATCH
Update delegation credentials of your organization

Headers

Authorization
string

For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_

x-cal-secret-key
string

For platform customers - OAuth client secret key

x-cal-client-id
string

For platform customers - OAuth client ID

Path Parameters

orgId
number
required
credentialId
string
required

Body

application/json
enabled
boolean
serviceAccountKey
object[]
optOutAutoSecretRotation
boolean

When true, Cal.com will not mint or promote managed Microsoft 365 client secrets for this delegation credential. Use this when the credential owner wants to rotate the active secret outside Cal.com. Only supported for Microsoft/office365 delegation credentials; attempting to set this on a Google delegation credential returns a 400 error.

Response

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

"success"

data
object
required