Create a schedule
POST/business-hours
Create a named schedule.
days maps weekday names to opening periods. A day with no periods is closed.
Times are read in the schedule's own timezone, falling back to the account's.
Request
Responses
- 201
- 400
- 401
- 403
Schedule created.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
The request was malformed, or a parameter was rejected.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
No token, an expired token, or a credential that has been revoked.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
Refused. Either the credential does not hold the scope this endpoint needs (code: insufficient_scope), or the account's IP allow-list does not include the calling address (code: ip_not_allowed).
Response Headers
Correlation id for this request. Quote it when reporting a problem.