Batch

Delete website pages

Changed on

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.

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
    • OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: marketplace_validation
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: content

Request body */*

inputsstring[] required

Strings to input.

Response

No content

Changes

    • info

      the security scope marketplace_validation was added to the endpoint's security scheme oauth2

    • info

      the security scope content was removed from the endpoint's security scheme oauth2