---
title: "Delete a batch of blog posts"
method: POST
path: "/cms/blogs/2026-09/posts/batch/archive"
tags: ["Batch"]
---

# Delete a batch of blog posts

`POST /cms/blogs/2026-09/posts/batch/archive`

## Request

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

Delete a blog post by ID. 
Note: This is not the same as the in-app `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to `true`.

## Request body `*/*`

- BatchInputString
  - `inputs` string[], required: Strings to input.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-09-03** (2026-09) `062fc4c57ddc`: 1 info
  - api operation id `post-/cms/blogs/2026-09/posts/batch/archive_/cms/blogs/2026-09/posts/batch/archive` removed and replaced with `post-/cms/blogs/2026-09/posts/batch/archive_archive`
- **2026-09-03** (2026-09) `64f654adebd9`: 2 info
  - api operation id `post-/cms/blogs/2026-09/posts/batch/archive_archive` removed and replaced with `post-/cms/blogs/2026-09/posts/batch/archive_/cms/blogs/2026-09/posts/batch/archive`
  - the endpoint scheme security `private_apps` was removed from the API

[Operation history](https://skmtc.dev/hubspot/apis/cms-posts/changes/cms/blogs/2026-09/posts/batch/archive/post.md)

---

[API](https://skmtc.dev/hubspot/apis/cms-posts.md) - [All operations](https://skmtc.dev/hubspot/apis/cms-posts/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/cms-posts/revisions/12cef4e9cdd5?raw)
