BanLiveMessageGroup
Adds users to the mute list of a live message group.
Operation description
Before you call this operation, you must call CreateLiveMessageGroup to create an interactive message group.
QPS limits
The QPS limit per user is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
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 muting when the all-member mute feature is enabled. Separate multiple users with commas (,). A maximum of 30 users can be specified. |
|
|
string |
No |
The user who is exempt from muting when the all-member mute feature is enabled. |
uid3 |
|
| DataCenter |
string |
No |
The data center. The value must be the same as the data center specified in CreateLiveMessageApp. Note
Supported data centers include Shanghai (cn-shanghai) and Singapore (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.