DELETE
/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions/{id}Delete an office hours exception
Deletes one office hours exception from a specific schedule. Use the schedule and exception identifiers to target the exception to remove. The response confirms deletion and includes the exception identifier.
office_hours_schedule_idstringrequired
The unique identifier of the office hours schedule containing the exception.
idstringrequired
The unique identifier of the office hours exception 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 exception `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 or exception 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 or exception cannot be found. The office_hours_schedule_id and id path parameters must identify the schedule and exception to delete.