Search + K

Command Palette

Search for a command to run...

Sign In

Delete a batch of Site Pages

POST /cms/v3/pages/site-pages/batch/archive
Copy endpoint
https://api.hubapi.com

Delete the Site Page objects identified 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

application/json required

The JSON array of Site Page ids.

interface BatchInputString {
inputs: string[];
}

Responses

204

No content

unknown
default */*

An error occurred.

interface Error {
category: string;
context?: { };
correlationId: string;
errors?: ErrorDetail
interface ErrorDetail {
code?: string;
context?: { };
in?: string;
message: string;
subCategory?: string;
}
[]
;
links?: { };
message: string;
subCategory?: string;
}