Liveblocks

Official
by liveblocks

edit-thread-metadata

Modify or remove metadata associated with a specific thread in Liveblocks. Provide roomId, threadId, and metadata details to update or delete thread attributes.

Instructions

Edit a Liveblocks thread's metadata. null can be used to remove a key.

Input Schema

NameRequiredDescriptionDefault
dataYes
roomIdYes
threadIdYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "data": { "additionalProperties": false, "properties": { "metadata": { "additionalProperties": { "type": [ "string", "boolean", "number", "null" ] }, "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" }, "userId": { "type": "string" } }, "required": [ "metadata", "userId" ], "type": "object" }, "roomId": { "type": "string" }, "threadId": { "type": "string" } }, "required": [ "roomId", "threadId", "data" ], "type": "object" }
ID: x714wi36o5