PUT
/
crm-associations
/
v1
/
associations
/
delete-batch
Delete multiple associations between CRM objects
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>"
  }
]'
"\nExample PUT URL:\nhttps://api.hubapi.com/crm-associations/v1/associations/delete-batch\n\nExample PUT JSON, removing the associations of two contacts from a single ticket:\n[\n  {\n    \"fromObjectId\": 496346,\n    \"toObjectId\": 176602,\n    \"category\": \"HUBSPOT_DEFINED\",\n    \"definitionId\": 15\n  },\n  {\n    \"fromObjectId\": 491646,\n    \"toObjectId\": 176602,\n    \"category\": \"HUBSPOT_DEFINED\",\n    \"definitionId\": 15\n  }\n]\n\nReturns a 204 No Content response on success."

Body

application/json · object[]

The body is of type object[].

Response

200 - application/json

Successful response - Delete multiple associations between CRM objects

The response is of type object.