bulkDeleteDraftPosts( )


Deletes multiple draft posts.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Blog
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
postIdsArray<string>Required

Post IDs.


optionsBulkDeleteDraftPostsOptions

Options for deleting multiple draft posts.

Returns
Return Type:Promise<BulkDeleteDraftPostsResponse>
Was this helpful?
Yes
No