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.1つのリクエストでIDを基準に複数のリードをアーカイブし、ごみ箱に移動します。
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.