Delete a schedule
DELETE/business-hours/:schedule_id
Delete a schedule. System schedules cannot be deleted.
Studio flows branching on this schedule keep their configuration but stop resolving it, so check your flows before deleting one that is in use.
Request
Responses
- 200
- 401
- 403
- 404
Schedule deleted.
No token, an expired token, or a credential that has been revoked.
Response Headers
X-Request-Id
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
X-Request-Id
Correlation id for this request. Quote it when reporting a problem.
No such resource in this account.
Response Headers
X-Request-Id
Correlation id for this request. Quote it when reporting a problem.