curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/communications/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.Delete a batch of messages by ID. A deleted message can be restored within 90 days of being deleted. Learn more about restoring activity records.
curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/communications/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.Was this page helpful?