Skip to main content
PATCH
Set my booking limit for one team

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

teamId
number
required

Body

application/json
perDay
number | null

Maximum bookings you take per day across this team's round-robin events. Pass null to inherit this interval; use DELETE to clear all intervals.

Required range: x >= 1
Example:

2

perWeek
number | null

Maximum bookings you take per week across this team's round-robin events. Pass null to inherit this interval; use DELETE to clear all intervals.

Required range: x >= 1
Example:

3

perMonth
number | null

Maximum bookings you take per month across this team's round-robin events. Pass null to inherit this interval; use DELETE to clear all intervals.

Required range: x >= 1
Example:

12

perYear
number | null

Maximum bookings you take per year across this team's round-robin events. Pass null to inherit this interval; use DELETE to clear all intervals.

Required range: x >= 1
Example:

100

Response

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

"success"

data
object
required