https://xxxxxx/v4/live_engine_http_srv/mute_member?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameters | Description |
xxxxxx | Domain name corresponding to the country/region where your SDKAppID is located:- China: `console.tim.qq.com`- Singapore: `adminapisgp.im.qcloud.com` |
v4/live_engine_http_srv/mute_member | Request API |
sdkappid | SDKAppID assigned by the Chat console when an app is created |
identifier | |
usersig | Signature generated by the App administrator account, for specific steps please refer to Generate UserSig |
random | A random 32-bit unsigned integer ranging from 0 to 4294967295 |
contenttype | Request format fixed value: `json` |
{"RoomId": "test","MemberList_Account": ["user1","user2"],"MuteTime": 3600 // In seconds, 0 means unmute}
Field | Type | Attribute | Description |
RoomId | String | Required | Room ID |
MemberList_Account | Array | Required | List of muted members |
MuteTime | integer | Required | Mute duration, 0 means unmute |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"RequestId": "Id-8c9858f01e954611ae2d4c1b1ed7d583-O-Seq-52720",}
Field | Type | Description |
ActionStatus | String | The result of the request process: OK indicates success; FAIL indicates failure |
ErrorCode | Integer | Error code. 0: success; other values: failure |
ErrorInfo | String | Error Message |
RequestId | String | Unique Request ID is returned with each request and required to provide this RequestId when locating issues |
Error Code | Description |
100001 | Internal server error, please retry |
100002 | Invalid parameter, please check the request for correctness based on the error description |
100004 | The room does not exist, possibly because it was never created or has already been dissolved |
Was this page helpful?