Mute User in Room

Mute a particular user in a room.

Body Parameters

Example Call

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" 
}'

Example Response

{
    "success": true
}

Last updated

Rocket.Chat versions receive support for six months after release.