Notifications
Update room subscription settings
Changed onThis endpoint updates a user’s subscription settings for a specific room. Corresponds to liveblocks.updateRoomSubscriptionSettings.
post/rooms/{roomId}/users/{userId}/subscription-settings
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/users/{userId}/subscription-settings
- Auth: none declared
Path parameters
roomIdstring required
ID of the room
Example:my-room-id
userIdstring required
ID of the user
Example:user-123
Request body
Example request
{
"threads": "replies_and_mentions",
"textMentions": "none"
}Response
Success. Returns the updated room subscription settings.
Example response
{
"threads": "all",
"textMentions": "mine"
}Changes
- breaking
request body became required
- info
api operation id
post-rooms-roomId-users-userId-subscription-settingsremoved and replaced withupdate-room-subscription-settings - info
the response property
became required for the status - info
the response property
became required for the status
- breaking
- info
endpoint added
- info