Skip to main content
PATCH
Update a booking limit pool

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token

Path Parameters

poolId
string<uuid>
required

Pool UUID; short UUID form is accepted too.

teamId
required

The team's uuid (preferred), its short-uuid (Flickr Base58) form, or its numeric id.

Body

application/json
perDay
number | null
Required range: x >= 1
Example:

2

perWeek
number | null
Required range: x >= 1
Example:

5

perMonth
number | null
Required range: x >= 1
perYear
number | null
Required range: x >= 1
name
string
Minimum string length: 1
Example:

"Engineering interviews"

mode
enum<string>

Changing the mode keeps every host's own limit.

Available options:
SHARED,
PER_EVENT
eventTypeIds
string<uuid>[]

Replaces the pool's event types.

Required array length: 1 - 100 elements
Example:

Response

200 - application/json
status
enum<string>
required
Available options:
success
data
object
required