Skip to main content
POST
/
marketing
/
campaigns
/
2026-03
/
batch
/
archive
Delete campaigns
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

Authorizations

Authorization
string
header
required

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

Body

application/json
inputs
object[]
required

An array of PublicCampaignDeleteInput objects, each specifying a campaign to be deleted. Each object must include the campaign's unique identifier.

Response

Last modified on March 30, 2026