The AddLiveMessageGroupBand operation mutes users in a group.
Operation description
Before you call this operation, you must call the CreateLiveMessageGroup operation to create an interactive message group.
QPS limit
The queries per second (QPS) limit for this operation is 10 calls per second for each user. API calls that exceed this limit are throttled, which may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:AddLiveMessageGroupBand |
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 |
| BannedUsers |
array |
Yes |
A list of users to mute. Separate multiple user IDs with a comma (,). You can specify a maximum of 30 users. |
|
|
string |
No |
The user to mute. |
uid1 |
|
| DataCenter |
string |
No |
The data center. This must be the same data center that you specified when you called the CreateLiveMessageApp operation. Note
Currently, this operation is supported in Shanghai (value: cn-shanghai) and Singapore (value: ap-southeast-1). |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| 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.