Search + K

Command Palette

Search for a command to run...

Sign In

Delete a batch of blog posts

POST /cms/v3/blogs/posts/batch/archive
Copy endpoint
https://api.hubapi.com

Delete a blog post by ID. Note: This is not the same as the in-app 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 Blog Post 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;
}