crm_batch_archive_associations
Archive multiple CRM associations between objects in bulk to maintain clean data relationships and remove outdated connections efficiently.
Instructions
Archive (delete) multiple associations in a single request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromObjectType | Yes | ||
| toObjectType | Yes | ||
| inputs | Yes |
Input Schema (JSON Schema)
{
"properties": {
"fromObjectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
},
"inputs": {
"items": {
"additionalProperties": false,
"properties": {
"from": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
},
"required": [
"from",
"to"
],
"type": "object"
},
"type": "array"
},
"toObjectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
}
},
"required": [
"fromObjectType",
"toObjectType",
"inputs"
],
"type": "object"
}