Favorite/Unfavourite a Room
- Print
- DarkLight
- PDF
Favorite/Unfavourite a Room
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/api/v1/rooms.favorite
Mark/Unmark a Room as Favourite
Changelog
Version | Description |
---|---|
0.64.0 | Added |
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Body parameters
Example 1
{
"roomId": "GENERAL",
"favorite": true
}
object
roomId
string Required
The room ID. Alternatively, enter the roomName
parameter and provide the room's name as the value.
favorite
boolean Required
A boolean to mark the room as favourite or not.
Responses
200
OK
Success
{
"success": true
}
object
success
boolean
Was this article helpful?