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.固有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
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
オブジェクトのタイプ。
SimplePublicObjectIdオブジェクトの配列。各オブジェクトには公開オブジェクトのIDが含まれています。これは、バッチ処理に関わるオブジェクトを指定するために使用されます。
Show child attributes