---
title: "Batch archive campaigns"
method: POST
path: "/marketing/campaigns/2026-09/batch/archive"
tags: ["Batch"]
---

# Batch archive campaigns

`POST /marketing/campaigns/2026-09/batch/archive`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/campaigns/2026-09/batch/archive`
- Auth: OAuth 2
  - Authorization code: `https://app.hubspot.com/oauth/authorize`
  - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `marketing.campaigns.write`

Delete a batch of campaigns using their identifiers. This endpoint allows you to efficiently remove multiple campaigns at once, streamlining the process of managing campaign data. It is particularly useful for cleaning up outdated or unnecessary campaigns in bulk.

## Request body

- BatchInputPublicCampaignDeleteInput
  - `inputs` PublicCampaignDeleteInput[], required: An array of PublicCampaignDeleteInput objects, each representing a campaign to be deleted. Each object must include the campaign's unique identifier.
    - `id` string, required: The unique identifier of the campaign to be deleted. It is a string.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

---

[API](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api.md) - [All operations](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/revisions/c1eb1c9b504c?raw)
