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

# Delete website pages

`POST /cms/pages/2026-09/site-pages/batch/archive`

## Request

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

Delete a batch of website pages as specified in the request body. Note that 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
  - `inputs` string[], required: Strings to input.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-11-02** (2026-09) `2d6b40da6e33`: 2 info
  - the security scope `marketplace_validation` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/cms-pages/changes/cms/pages/2026-09/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/2d6b40da6e33?raw)
