Pular para o conteúdo 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

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

objectType
string
obrigatório

Corpo

application/json
inputs
object[]
obrigatório

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.

Resposta

Última modificação em 5 de junho de 2026