DELETE/content_snippets/{id}

Delete a content snippet

Deletes a content snippet by its unique identifier. Use this operation to remove a snippet that is no longer needed; deletion is unavailable while the snippet has procedure dependencies.

2 parameters
idstringrequired
The unique identifier of the content snippet to delete.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted.
Allowed:1.01.11.21.31.42.02.12.22.32.42.52.6Default:2.17

3 status codes
204Returns no response body after the content snippet is deleted.
404Returned when no content snippet exists with the given identifier.

One documented failure

  • not_found

    Content snippet not found

typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
422Returned when the content snippet has procedure dependencies that prevent deletion.

One documented failure

  • content_has_procedure_dependencies

    Content snippet has dependent procedures and cannot be deleted

typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects

Error handling

A 404 is returned when the id path parameter does not identify an existing content snippet. A 422 is returned when the snippet has procedure dependencies.