DELETE
/data_connectors/{id}Delete a data connector
Deletes an existing data connector. Use this operation only when the connector is in draft state and is not used by any workflows or AI agents. A successful response confirms whether the connector was deleted.
idstringrequired
The unique identifier of the data connector to delete.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted.
200Returns the deleted data connector's identifier, object type, and a `deleted` value indicating whether deletion succeeded.
idstringoptional
The unique identifier for the data connector.
objectstringoptional
The type of object which was deleted.
deletedbooleanoptional
Whether the data connector was deleted successfully.
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 data connector is not found.
One documented failure
data_connector_not_foundData connector not found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
409Returned when the connector is not in `draft` state or is in use by a workflow or AI agent.
2 documented failures
data_connector_in_useData connector is in use by other resources and cannot be deleted
conflictData connector must be in draft state to be deleted
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 when the data connector is not found, and a 409 when the connector cannot be deleted because it is not in draft state or is in use. The id path parameter must identify the data connector to delete.