Mute a particular user in a room.
HTTP Method | URL | Requires Auth |
---|
POST | /api/v1/rooms.muteUser | yes |
Key | Example Value | Description |
---|
roomId * | JZ8Y2dLfYhsg323Rf | The room ID. |
userId * | CkCPNfjfhiwWLqC | The user that you want to mute. Alternatively, you can also use the username parameter. |
curl -L -X POST 'http://localhost:3000/api/v1/rooms.muteUser' \
-H 'X-User-Id: d26x6zSkaPSe5gCyy' \
-H 'X-Auth-Token: Zu-Z6eKzIIz7MCCRGeHi29bYkXZCJ4SxFC0JAasqm92' \
-H 'Content-Type: application/json' \
--data-raw '{
"userId": "CkCPNfjfhiwWLqC",
"roomId": "iu7jtPAhvEeAS5tNq"
}'
Version |
Description |
6.8.0 |
Added |