Liveblocks icon

Liveblocks

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

Room → Update Organization ID

AI-generated

Summary

Update the organization associated with a specific Liveblocks room by changing its organization ID from a given previous ID to a new one.

Inputs

  • Room ID (required) — The unique identifier of the Liveblocks room to update.
  • From Organization ID (required) — The current organization ID assigned to the room that will be updated.
  • To Organization ID (required) — The new organization ID to assign to the room.
  • Include Request in Error — Optionally include request details in error responses to aid debugging.

Output shape

a single record containing the updated room information as returned by Liveblocks API

The response returns the updated room data reflecting the new organization ID assignment. If the API call fails, error details may include request information if enabled by the 'Include Request in Error' option.

Examples

Example 1: Reassigning a Liveblocks room to a different organization

Provide the existing room ID, the current organization ID assigned to the room, and the target organization ID to update to.

Links

Discussion