Create a booking policy
Changed onCreate a new booking policy for the organization. Exactly one of 'calendar', 'membership_user_id', 'appointment_type', or 'is_organization_default' must be set. Returns 400 when a policy for the target already exists.
Request
- The document declares no server URL.
- Auth: one of:
- HTTP bearer
- API key in cookie sessionid
Headers
Selects the active organization for this request. Optional for callers that belong to exactly one active organization — the single membership is resolved implicitly. Required when the caller has two or more active memberships; omitting it in that case returns 400. If the header names an organization the caller is not an active member of, the server returns 403.
Request body
Response
Changes
- ●
removed the request property
(media type: application/json) - ●
removed the request property
(media type: application/x-www-form-urlencoded) - ●
removed the request property
(media type: multipart/form-data) - ●
removed the optional property
from the response with the status - ○
added the new optional request property
(media type: application/json) - ○
added the new optional request property
(media type: application/x-www-form-urlencoded) - ○
added the new optional request property
(media type: multipart/form-data) - ○
added the optional property
to the response with the status
- ●
- ○
endpoint added
- ○