Unmute All Members in a Chatroom
Lift the mute status for all members in one or more specified chatrooms.
Request Method
POST: https://data center domain/chatroom/ban/rollback.json
Rate Limit: 100 requests per second
Signature Rule: All server API requests must be validated according to the rules. For details, see API Request Signature.
Body Parameters
The HTTP request body is in application/x-www-form-urlencoded format and supports the following HTTP form parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| chatroomId | String | Yes | The ID of the chatroom where the mute is being lifted |
| extra | String | No | JSON-formatted extended information carried by the notification, only effective when needNotify is true. |
| needNotify | boolean | No | Whether to notify members. Default is false (no notification). If set to true, the client will trigger the corresponding callback method (requires Android/iOS IMLib ≧ 5.4.5; Web IMLib ≧ 5.7.9). Notification scope: all members in the specified chatroom. |
Request Example
POST /chatroom/ban/rollback.json HTTP/1.1
Host: api.rong-api.com
App-Key: uwd1c0sxdlx2
Nonce: 14314
Timestamp: 1408710653491
Signature: 45beb7cc7307889a8e711219a47b7cf6a5b000e8
Content-Type: application/x-www-form-urlencoded
chatroomId=123
Response
The HTTP response body contains a JSON object with the following structure:
| Return Value | Return Type | Description |
|---|---|---|
| code | Number | Return code, 200 for success. |
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"code":200}