Liveblocks icon

Liveblocks

Call the Liveblocks REST API (rooms, comments, feeds, Yjs, AI, and more)

Thread → Delete

AI-generated

Summary

Delete a specific thread from a Liveblocks room using its Room ID and Thread ID.

Inputs

  • Room ID (required) — Liveblocks room identifier
  • Thread ID (required) — Thread identifier
  • Include Request in Error — Whether to include full request details in error descriptions for debugging failed API calls

Output shape

a confirmation response object from the Liveblocks API indicating the deletion result, typically no substantive body upon success

The operation requires both Room ID and Thread ID as mandatory inputs. If the API call fails, the error output may optionally contain detailed request information based on the 'Include Request in Error' flag.

Examples

Example 1: Remove a thread with given IDs from a Liveblocks room to delete thread data and associated comments.

Provide the target Room ID and Thread ID, optionally enable request details on error for debugging.

Links

Discussion