DELETE
/office_hours_schedules/{id}Delete an office hours schedule
Deletes a specific office hours schedule. Use its identifier to select the schedule to remove. The response confirms deletion and includes the schedule identifier.
idstringrequired
The unique identifier of the office hours schedule to delete.
Intercom-Versionstringoptional
Selects the Intercom API version. Defaults to `2.17` when omitted; the schema defines the accepted version values.
200Returns a deletion confirmation object containing the schedule `id`, object type, and a `deleted` flag.
idstringoptional
objectstringoptional
deletedbooleanoptional
401Returned when the request is unauthorized.
One documented failure
unauthorizedAccess Token Invalid
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the office hours schedule cannot be found.
2 documented failures
not_foundObject not found
data_invalidIntegration not found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 401 is returned when the request is unauthorized. A 404 is returned when the schedule cannot be found. The id path parameter must identify the office hours schedule to delete.