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.

2 parameters
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.
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 schedule `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 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 cannot be found. The id path parameter must identify the office hours schedule to delete.