Skip to main content
PATCH
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connectionId
string
required

Calendar connection ID

Body

application/json

Fields to change. At least one is required.

label
string | null

Rename the connection.

Required string length: 1 - 120
timezone
string | null

Change the named IANA timezone slots are offered in.

Minimum string length: 1
apiKey
string | null

Rotate the credential. The new key is verified before it is stored, and a verified key returns the connection to ACTIVE, which is how a connection recovers from INVALID_CREDENTIALS.

Minimum string length: 1

Response

The updated calendar connection.

data
CalendarConnection · object
required

A project’s credential for one calendar account, the thing a calendar tool books against. The credential itself is never returned.