Update room organization ID
Changed onThis endpoint updates the room's organization ID. The fromOrganizationId must match the room's current organization ID. Returns the updated room.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/update-organization-id
- Auth: none declared
Path parameters
The ID of the room
Request body
Example request
{
"fromOrganizationId": "org_123456789",
"toOrganizationId": "org_987654321"
}Response
Success. Returns the updated room with the new organization ID.
Example response
{
"type": "room",
"id": "my-room-id",
"lastConnectionAt": "2022-08-04T21:07:09.380Z",
"createdAt": "2022-07-13T14:32:50.697Z",
"organizationId": "org_123456789",
"metadata": {
"color": "blue",
"type": "whiteboard"
},
"defaultAccesses": [
"*:write"
],
"groupsAccesses": {
"marketing": [
"*:write"
]
},
"usersAccesses": {
"alice": [
"*:write"
]
}
}Changes
- warning
added the new
comments:private:noneenum value to the/response property for the response status - warning
added the new
comments:private:noneenum value to the//response property for the response status - warning
added the new
comments:private:noneenum value to the//response property for the response status - warning
added the new
comments:private:readenum value to the/response property for the response status - warning
added the new
comments:private:readenum value to the//response property for the response status - warning
added the new
comments:private:readenum value to the//response property for the response status - warning
added the new
comments:private:writeenum value to the/response property for the response status - warning
added the new
comments:private:writeenum value to the//response property for the response status - warning
added the new
comments:private:writeenum value to the//response property for the response status - warning
added the new
comments:public:noneenum value to the/response property for the response status - warning
added the new
comments:public:noneenum value to the//response property for the response status - warning
added the new
comments:public:noneenum value to the//response property for the response status - warning
added the new
comments:public:readenum value to the/response property for the response status - warning
added the new
comments:public:readenum value to the//response property for the response status - warning
added the new
comments:public:readenum value to the//response property for the response status - warning
added the new
comments:public:writeenum value to the/response property for the response status - warning
added the new
comments:public:writeenum value to the//response property for the response status - warning
added the new
comments:public:writeenum value to the//response property for the response status
- warning
- warning
added the new
*:readenum value to the/response property for the response status - warning
added the new
*:readenum value to the//response property for the response status - warning
added the new
*:readenum value to the//response property for the response status - warning
added the new
*:writeenum value to the/response property for the response status - warning
added the new
*:writeenum value to the//response property for the response status - warning
added the new
*:writeenum value to the//response property for the response status - warning
added the new
comments:noneenum value to the/response property for the response status - warning
added the new
comments:noneenum value to the//response property for the response status - warning
added the new
comments:noneenum value to the//response property for the response status - warning
added the new
comments:readenum value to the/response property for the response status - warning
added the new
comments:readenum value to the//response property for the response status - warning
added the new
comments:readenum value to the//response property for the response status - warning
added the new
feeds:noneenum value to the/response property for the response status - warning
added the new
feeds:noneenum value to the//response property for the response status - warning
added the new
feeds:noneenum value to the//response property for the response status - warning
added the new
feeds:readenum value to the/response property for the response status - warning
added the new
feeds:readenum value to the//response property for the response status - warning
added the new
feeds:readenum value to the//response property for the response status - warning
added the new
feeds:writeenum value to the/response property for the response status - warning
added the new
feeds:writeenum value to the//response property for the response status - warning
added the new
feeds:writeenum value to the//response property for the response status - warning
added the new
storage:noneenum value to the/response property for the response status - warning
added the new
storage:noneenum value to the//response property for the response status - warning
added the new
storage:noneenum value to the//response property for the response status - warning
added the new
storage:readenum value to the/response property for the response status - warning
added the new
storage:readenum value to the//response property for the response status - warning
added the new
storage:readenum value to the//response property for the response status - warning
added the new
storage:writeenum value to the/response property for the response status - warning
added the new
storage:writeenum value to the//response property for the response status - warning
added the new
storage:writeenum value to the//response property for the response status
- warning