curl --request POST \
--url https://api.hubapi.com/marketing/campaigns/2026-03/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "<string>"
}
]
}
'This response has no body data.Ce point de terminaison d’API supprime un lot de campagnes. Le nombre maximum d’éléments dans une requête de lot est de 50. La réponse sera toujours 204 No Content, que les campagnes existent ou non, qu’elles aient été supprimées avec succès ou non, ou si seulement certaines des campagnes du lot ont été supprimées.
curl --request POST \
--url https://api.hubapi.com/marketing/campaigns/2026-03/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "<string>"
}
]
}
'This response has no body data.Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.fr/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
Un tableau d'objets PublicCampaignDeleteInput, chacun spécifiant une campagne à supprimer. Chaque objet doit inclure l'identifiant unique de la campagne.
Show child attributes