cURL
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": "<string>" } ] } '
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.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
Was this page helpful?