Pular para o conteúdo principal
POST
/
marketing
/
campaigns
/
2026-03
/
batch
/
archive
Excluir um lote de campanhas
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.

Supported products

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json
inputs
object[]
obrigatório

Uma matriz de objetos PublicCampaignDeleteInput, cada um especificando uma campanha a ser excluída. Cada objeto deve incluir o identificador exclusivo da campanha.

Resposta

Last modified on April 13, 2026