Update room ID
Changed onThis endpoint permanently updates the room’s ID. All existing references to the old room ID will need to be updated. Returns the updated room. Corresponds to liveblocks.updateRoomId.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/update-room-id
- Auth: none declared
Path parameters
The new ID for the room
Request body
Example request
{
"newRoomId": "new-room-id"
}Response
Success. Returns the updated room with the new 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