crm_archive_object
Delete CRM objects such as companies, contacts, deals, or tickets in HubSpot by specifying object type and ID for streamlined data management.
Instructions
Archive (delete) a CRM object
Input Schema
Name | Required | Description | Default |
---|---|---|---|
objectId | Yes | ||
objectType | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"objectId": {
"type": "string"
},
"objectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
}
},
"required": [
"objectType",
"objectId"
],
"type": "object"
}