Batch
Delete website pages
Changed onDelete 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-03/site-pages/batch/archive
Request
- Base URLhttps://api.hubapi.com
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: marketplace_validation
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: content
Request body
Response
No content
Changes
- breaking
removed the media type
*/*from the request body - info
the security scope
marketplace_validationwas added to the endpoint's security schemeoauth2 - info
the security scope
contentwas removed from the endpoint's security schemeoauth2 - info
added the media type
application/jsonto the request body - info
added the success response with the status
- breaking
- info
the security scope
marketplace_validationwas added to the endpoint's security schemeoauth2 - info
the security scope
contentwas removed from the endpoint's security schemeoauth2
- info