Membungkam pengguna di kelompok pesan langsung.
Deskripsi operasi
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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:BanLiveMessageGroup |
update |
*Rtc
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. |
demo |
| GroupId |
string |
Yes |
ID kelompok. |
grouptest |
| ExceptUsers |
array |
No |
Pengguna yang dikecualikan dari pembungkaman seluruh kelompok. Anda dapat menentukan hingga 30 pengguna. Pisahkan beberapa ID pengguna dengan koma (,). |
|
|
string |
No |
A user who is exempt from the group-wide mute. |
uid3 |
|
| DataCenter |
string |
No |
Pusat data lokal. Nilai ini harus sesuai dengan pusat data lokal yang Anda tentukan saat memanggil CreateLiveMessageApp. Catatan
Pusat data lokal yang didukung adalah China (Shanghai) (cn-shanghai) dan Singapore (ap-southeast-1). |
cn-shanghai |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
84AF36BF-0B39-1F8A-A416-FAC7C484**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "84AF36BF-0B39-1F8A-A416-FAC7C484****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InputInvalid | %s. | |
| 500 | ServerError | %s. | |
| 403 | NoAuth | %s. | |
| 404 | ResourceNotExist | %s. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.