Saltar al contenido 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

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

objectType
string
requerido

Cuerpo

application/json
inputs
object[]
requerido

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.

Respuesta

Última modificación el 5 de junio de 2026