Liveblocks icon

Liveblocks

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

Comment → Edit Metadata

AI-generated

Summary

Update metadata for a specific comment in a Liveblocks room thread by providing the room ID, thread ID, comment ID, user ID, and the new metadata content.

Inputs

  • Room ID (required) — Liveblocks room identifier where the comment resides.
  • Thread ID (required) — Identifier of the thread containing the comment.
  • Comment ID (required) — Identifier of the comment whose metadata will be edited.
  • User ID (required) — Identifier of the user performing the metadata edit.
  • Metadata (required) — A JSON object containing the new metadata to assign to the comment.
  • Updated At — Optional timestamp string indicating the time of the update.

Output shape

a single JSON object representing the updated comment metadata

The operation returns the updated metadata of the specified comment. Errors may include debug details if 'Include Request in Error' is enabled.

Links

Discussion