PUT
/
crm-associations
/
v1
/
associations
/
delete
Delete an association
curl --request PUT \
  --url https://api.hubapi.com/crm-associations/v1/associations/delete \
  --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\n\nExample PUT JSON, removing the association from a contact with vid 25 to a ticket with ID 100:\n{\n  \"fromObjectId\": 25,\n  \"toObjectId\": 100,\n  \"category\": \"HUBSPOT_DEFINED\",\n  \"definitionId\": 15\n}\n\nReturns a 204 No Content response on success."

Body

application/json

Response

200 - application/json

Successful response - Delete an association between 2 CRM objects

The response is of type object.