Skip to main content
Use comment deletion when a user removes their own comment or a moderation flow removes a comment. Soft delete marks the comment as deleted while preserving enough state for collections and audit-style views. Hard delete permanently removes the comment where the SDK exposes that operation.

Platform Support

Hard delete is permanent. Confirm the action in your UI before calling a hard-delete API.

Parameters

Soft Delete

Soft delete a comment when the UI should preserve deleted-state semantics in comment collections.

Hard Delete

Hard delete is available in TypeScript, iOS, and Android.

Query Deleted Comments

Use the query API with deleted comments included when you need moderation or audit views.

Notes

  • Handle not-found, permission, and moderation errors from the SDK call.
  • Query live collections after deletion if the UI needs to reflect deleted-state changes.
  • Use soft delete for reversible moderation workflows; reserve hard delete for cases where permanent removal is intended and supported on that platform.
  • The Flutter public comment extension exposes delete() for the comment instance; do not rely on a separate Flutter hard-delete path unless your SDK version documents one.

Edit Comment

Update text, metadata, mentions, links, and image attachments.

Query Comments

Query comments with deleted-state filtering.

Get Comment

Retrieve a specific comment by ID.

Comment Overview

Understand comment targets and model fields.