---
title: "Delete a batch of campaigns"
method: POST
path: "/marketing/v3/campaigns/batch/archive"
tags: ["Batch"]
---

# Delete a batch of campaigns

`POST /marketing/v3/campaigns/batch/archive`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/v3/campaigns/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`

This endpoint deletes a batch of campaigns. 
The maximum number of items in a batch request is 50.
The response will always be 204 No Content, regardless of whether the campaigns exist or not, whether they were successfully deleted or not, or if only some of the campaigns in the batch were deleted.

## Request body

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

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-08-17** (v3) `d72436413d14`: 1 info
  - endpoint added
- **2026-07-13** (v3) `b6daafa307a3`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (v3) `bbabb550b117`: 1 info
  - endpoint added
- **2026-07-13** (v3) `888934953fff`: 1 breaking
  - api path removed without deprecation
- **2026-05-22** (v3) `abb310dc80b9`: 2 info
  - the security scope `marketing.campaigns.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `campaigns-write` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/changes/marketing/v3/campaigns/batch/archive/post.md)

---

[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/f31b87ae2953?raw)
