curl --request POST \
--url https://api.hubapi.com/marketing/v3/marketing-events/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"objectId": "<string>"
}
]
}
'This response has no body data.複数のマーケティングイベントが存在する場合は、objectIdに基づいてポータルから複数のマーケティングイベントを削除します。
レスポンス: 204:指定された全てのマーケティングイベントが正常に削除された場合に返されます。 207:一部のobjectIdsが既存のマーケティングイベントに対応しなかった場合に返されます。
curl --request POST \
--url https://api.hubapi.com/marketing/v3/marketing-events/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"objectId": "<string>"
}
]
}
'This response has no body data.