Pular para o conteúdo principal
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>"
}
'
{
  "fromObjectId": 25,
  "toObjectId": 100,
  "category": "HUBSPOT_DEFINED",
  "definitionId": 15
}

Corpo

application/json
fromObjectId
string
obrigatório

The ID of the object you want to remove the association from.

toObjectId
string
obrigatório

The ID of the currently associated object that you're removing the association from.

category
string
obrigatório

The category of the association. Currently this must be "HUBSPOT_DEFINED"

definitionId
string
obrigatório

The ID of the association definition. See the table on the overview page for a list of those IDs.

Resposta

200 - application/json

Successful response - Delete an association between 2 CRM objects

The response is of type object.

Last modified on April 13, 2026