hubspot_crm_archive
Soft-delete a HubSpot CRM record by archiving it. Archived records remain retrievable with archived=true. Works on deals, line items, quotes, and engagement objects.
Instructions
Archive (soft-delete) a HubSpot CRM record. Archived records are not permanently deleted and can be retrieved with archived=true on list/get calls. Applies to all object types. Returns an empty response (HTTP 204) on success. To permanently delete, use the HubSpot UI or the GDPR delete endpoint.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"objectType": "<objectType>",
"id": "<id>"
},
"name": "hubspot_crm_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | HubSpot record ID to archive. | |
| objectType | Yes | CRM object type. Sales objects: deals, line_items, products, quotes. Engagement objects: calls, meetings, tasks, notes, emails. |