curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/leads/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.Arquive vários leads por seus IDs em uma única solicitação, movendo-os para a lixeira.
curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/leads/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.Produtos suportados
Escopos Necessários