Call the BanLiveMessageGroup operation to mute a user.
Operation description
Before you call this operation, you must call CreateLiveMessageGroup to create an interactive message group.
QPS limits
Each user can call this operation up to 10 times per second. API calls that exceed this limit are throttled, which may impact your business. We recommend that you call this operation within this limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:BanLiveMessageGroup |
update |
*Rtc
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
demo |
| GroupId |
string |
Yes |
The group ID. |
grouptest |
| ExceptUsers |
array |
No |
The users who are exempt from the group-wide mute. Specify up to 30 users. Separate multiple user IDs with a comma (,). |
|
|
string |
No |
A user who is exempt from the group-wide mute. |
uid3 |
|
| DataCenter |
string |
No |
The data center. This value must be the same as the data center that you specified when you called CreateLiveMessageApp. Note
The supported data centers are China (Shanghai) (cn-shanghai) and Singapore (ap-southeast-1). |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
84AF36BF-0B39-1F8A-A416-FAC7C484**** |
Examples
Success response
JSON format
{
"RequestId": "84AF36BF-0B39-1F8A-A416-FAC7C484****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InputInvalid | %s. | Illegal input parameters |
| 500 | ServerError | %s. | Unknown error, please try again later or submit a ticket for consultation. |
| 403 | NoAuth | %s. | No permission |
| 404 | ResourceNotExist | %s. | The requested resource does not exist, please check and try again |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.