crm_batch_archive_objects
Archive multiple CRM objects in a single request to efficiently manage and clean up your HubSpot CRM data by removing companies, contacts, deals, tickets, products, or custom objects in bulk.
Instructions
Archive (delete) multiple CRM objects in a single request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectType | Yes | ||
| objectIds | Yes |
Input Schema (JSON Schema)
{
"properties": {
"objectIds": {
"items": {
"type": "string"
},
"type": "array"
},
"objectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
}
},
"required": [
"objectType",
"objectIds"
],
"type": "object"
}