curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/tasks/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.Archive a batch of tasks by their IDs, moving them to the recycling bin. This operation requires a list of task IDs to be provided in the request body.
curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/tasks/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?