crm_archive_association
Remove outdated or incorrect connections between CRM objects like contacts, companies, and deals in HubSpot by archiving specific associations.
Instructions
Archive (delete) an association between two objects
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromObjectId | Yes | ||
| fromObjectType | Yes | ||
| toObjectId | Yes | ||
| toObjectType | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fromObjectId": {
"type": "string"
},
"fromObjectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
},
"toObjectId": {
"type": "string"
},
"toObjectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
}
},
"required": [
"fromObjectType",
"toObjectType",
"fromObjectId",
"toObjectId"
],
"type": "object"
}