Skip to content

Delete Connection

DELETE
/integrations/connections/{connection_id}

Disconnect a CRM.

Anything already synced STAYS - this removes the connection, not the records that came through it. Any sync configured against this connection stops working, so check /integrations/crm-sync/push-enabled first if a continuous sync is running.

Authorizations

Parameters

Path Parameters

connection_id
required

Connection id.

string

Connection id.

Query Parameters

provider_config_key
required

Provider config key, e.g. hubspot or salesforce. REQUIRED: the same connection id can exist under more than one provider config, so the key is what identifies which one to remove.

string

Provider config key, e.g. hubspot or salesforce. REQUIRED: the same connection id can exist under more than one provider config, so the key is what identifies which one to remove.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required

An open envelope for a connection, a token or a migration report.

Open because the migration STATUS payload carries a per-entity progress map, a discovered-field map and a pipeline list that all grow with the providers - and because a dropped warning on a migration report reads as “nothing went wrong”.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string