Reminder: As of August 9th, the demo API key will only be allowed to make GET requests. Please see the announcement for more details.

Delete multiple associations between CRM objects

Last updated May 14, 2019

PUT /crm-associations/v1/associations/delete-batch

Method Details

HTTP Methods:

PUT

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Required Scope:

contacts

Delete multiple associations between CRM objects.

The JSON data in the PUT request will be a list of items each representing a single association that you want to delete. See the example for more details.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header or hapikey={key} query parameter. Used to authenticate the request. Please see this page for more details about authentication.
From object "fromObjectId":
Used in the request JSON
The ID of the object you want to remove the association from.
To object "toObjectId":
Used in the request JSON
The ID of the currently associated object that you're removing the association from.
Category "category":
Used in the request JSON
The category of the association. Currently this must be "HUBSPOT_DEFINED"
Association definition. "definitionId":
Used in the request JSON
The ID of the association definition. See the table on the overview page for a list of those IDs.