Passer au contenu principal
POST
/
marketing
/
v3
/
campaigns
/
batch
/
archive
Supprimer un lot de campagnes
curl --request POST \
  --url https://api.hubapi.com/marketing/v3/campaigns/batch/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "id": "<string>"
    }
  ]
}
'
This response has no body data.

Supported products

Autorisations

Authorization
string
header
requis

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

Corps

application/json
inputs
object[]
requis

Un tableau d'objets PublicCampaignDeleteInput, chacun spécifiant une campagne à supprimer. Chaque objet doit inclure l'identifiant unique de la campagne.

Réponse

Last modified on May 11, 2026