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.

3 parameters
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.
Allowed:1.01.11.21.31.42.02.12.22.32.42.52.6Default:2.17

3 status codes
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

  • unauthorized

    Access 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_found

    Object not found

  • data_invalid

    Integration 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.