Passer au contenu principal
POST
/
crm
/
v3
/
objects
/
{objectType}
/
batch
/
archive
Archiver un lot d'objets par ID
curl --request POST \
  --url https://api.hubapi.com/crm/v3/objects/{objectType}/batch/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "id": "<string>"
    }
  ]
}
'
This response has no body data.

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Entreprise
Sales HubSales Hub -Entreprise
Service HubService Hub -Entreprise
Content HubContent Hub -Entreprise

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

Réponse

Last modified on December 8, 2025