Skip to main content

Unmute Users from Global Chatroom Ban

Unmute specified users from the global chatroom ban.

Request Method​

POST: https://data center domain/chatroom/user/ban/remove.json

Rate Limit: 100 requests per second

Signature Rule: All server API requests require signature verification. For details, see API Request Signature.

Body Parameters​

The HTTP request body is formatted as application/x-www-form-urlencoded and supports the following HTTP form parameters:

ParameterTypeRequiredDescription
userIdStringYesUser ID. Multiple users can be unmuted at once, with a maximum of 20 users per request.
extraStringNoJSON-formatted extended information carried in the notification. Valid only when needNotify is true.
needNotifybooleanNoWhether to notify members. Default is false (no notification). If true, the client will trigger the corresponding callback method (requires Android/iOS IMLib ≧ 5.4.5; Web IMLib ≧ 5.7.9). Notification scope: users unmuted from the global ban.

Request Example​

POST /chatroom/user/ban/remove.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

userId=2582

Response​

The HTTP response body contains a JSON object with the following structure:

Return ValueReturn TypeDescription
codeNumberReturn code, 200 indicates success.

Response Example​

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{"code":200}