---
title: "Delete website pages"
method: POST
path: "/cms/v3/pages/site-pages/batch/archive"
tags: ["Batch"]
---

# Delete website pages

`POST /cms/v3/pages/site-pages/batch/archive`

Delete a batch of website pages as specified in the request body. Note: this is not the same as the dashboard `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to `true`.

## Request body

- BatchInputString — Wrapper for providing an array of strings as inputs.
  - `inputs` string[], required — Strings to input.

## Response `204`

No content

## Other responses

- `default` — An error occurred.

## Changes

- **2026-04-15** (v3) `df07dfb3375f` — 4 info
  - the endpoint scheme security `app_cookie` was removed from the API
  - the endpoint scheme security `hapikey` was removed from the API
  - the endpoint scheme security `internal_cookie` was removed from the API
  - the endpoint scheme security `shhkey` was removed from the API
- **2026-04-11** (v3) `4f45f5717791` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hubspot/apis/cms-pages/changes/cms/v3/pages/site-pages/batch/archive/post.md)

---

[API](https://skmtc.dev/hubspot/apis/cms-pages.md) · [All operations](https://skmtc.dev/hubspot/apis/cms-pages/llms.txt) · [OpenAPI document](https://skmtc.dev/hubspot/apis/cms-pages/revisions/676be239d45a?raw)
