curl --request PUT \
--url https://api.hubapi.com/crm-associations/v1/associations/delete-batch \
--header 'Content-Type: application/json' \
--data '
[
{
"fromObjectId": "<string>",
"toObjectId": "<string>",
"category": "<string>",
"definitionId": "<string>"
}
]
'[
{
"fromObjectId": 496346,
"toObjectId": 176602,
"category": "HUBSPOT_DEFINED",
"definitionId": 15
},
{
"fromObjectId": 491646,
"toObjectId": 176602,
"category": "HUBSPOT_DEFINED",
"definitionId": 15
}
]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.
curl --request PUT \
--url https://api.hubapi.com/crm-associations/v1/associations/delete-batch \
--header 'Content-Type: application/json' \
--data '
[
{
"fromObjectId": "<string>",
"toObjectId": "<string>",
"category": "<string>",
"definitionId": "<string>"
}
]
'[
{
"fromObjectId": 496346,
"toObjectId": 176602,
"category": "HUBSPOT_DEFINED",
"definitionId": 15
},
{
"fromObjectId": 491646,
"toObjectId": 176602,
"category": "HUBSPOT_DEFINED",
"definitionId": 15
}
]The ID of the object you want to remove the association from.
The ID of the currently associated object that you're removing the association from.
The category of the association. Currently this must be "HUBSPOT_DEFINED"
The ID of the association definition. See the table on the overview page for a list of those IDs.
Successful response - Delete multiple associations between CRM objects
The response is of type object.
Was this page helpful?