restore deleted posts

Hi team,

I see that deletePost performs a soft delete based on the SDK documentation, but I haven’t been able to find any documentation or method for how to restore a post that’s been soft deleted.

Is there currently a way to:

  • Undelete or restore a post after it’s been soft deleted?
  • Access soft-deleted posts via a query/filter to then update them?

Would really appreciate any guidance or best practices on this. Thanks in advance!

Hello @abrown1916 , Thanks for raising this!

To answer your questions:

  1. Restoring a soft-deleted post – Currently, there’s no method available to undelete or restore a post once it has been soft deleted.
  2. Accessing soft-deleted posts – You can still query soft-deleted posts by using the includeDeleted = true parameter when calling the Query Post API.

Let us know if you need help setting up the query or if there’s anything else we can assist with! :blush:

1 Like

Thank you for the clarification! This was helpful!

1 Like