Skip to main content
Use post deletion when a user or moderator needs to remove a post by ID. Deletion permissions are enforced by the backend according to the actor, target community, and your app settings.

Platform Support

Do not rely on Flutter’s hardDelete argument for hard deletion in the current public SDK. The public delete path does not pass a hard-delete flag to the request.

Parameters

Delete a Post

Delete by post ID, choosing soft delete or hard delete only on SDKs that expose the desired behavior.

Parent Post IDs

iOS delete methods accept an optional parentId. Pass nil for top-level posts. If you are deleting a child post and your app already has its parent post ID, pass that parent ID so local post state can be updated correctly.

Notes

  • Use soft delete when your app needs the deleted state to remain observable.
  • Use hard delete only when your app intentionally wants the object invalidated or permanently removed on SDKs that expose the hard-delete path.
  • Refresh or remove local UI items after deletion; live collections usually update, but optimistic UI should still handle delete failures.

Edit Posts

Update existing post content.

Post Review

Approve or decline posts in review queues.

Query Posts

Query posts with deleted-state filters.