Unmute User in Room

Unmute a particular user in a room.

HTTP MethodURLRequires Auth

POST

/api/v1/rooms.unmuteUser

Body Parameters

KeyExample ValueDescription

roomId*

JZ8Y2dLfYhsg323Rf

The room ID.

userId*

CkCPNfjfhiwWLqC

The user that you want to unmute. Alternatively, you can also use the username parameter.

Example Call

curl -L -X POST 'http://localhost:3000/api/v1/rooms.unmuteUser' \
-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
}
VersionDescription

6.8.0

Added

Last updated

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