listDeletedDraftPosts( )


Retrieves a list of up to 100 deleted draft posts.

List Deleted Draft Posts runs with these defaults, which you can override:

  • editedDate is sorted in descending order. In this case,editedDate implies the date the post was deleted.
  • paging.limit is 50.
  • paging.offset is 0.
Authentication

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

Permissions
Manage Blog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListDeletedDraftPostsOptions

Options for listing deleted draft posts.

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