Passer au contenu principal
POST
/
crm
/
objects
/
2026-03
/
{objectType}
/
batch
/
archive
Archive a batch of objects by ID
curl --request POST \
  --url https://api.hubapi.com/crm/objects/2026-03/{objectType}/batch/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "id": "430001"
    }
  ]
}
'
This response has no body data.

Supported products

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Paramètres de chemin

objectType
string
requis

Corps

application/json
inputs
object[]
requis

An array of SimplePublicObjectId objects, each containing an ID of a public object. This is used to specify the objects involved in the batch operation.

Réponse

Dernière modification le 1 avril 2026