Menghapus anggota dari kelompok IM.
Deskripsi operasi
This operation is a beta feature from Meta. Contact your account manager to add your account to the allowlist before use.
-
This operation requires an existing IM group that members have joined via an invitation link.
-
To create an IM group and add an invitation link, call the AddChatGroup and AddChatGroupInviteLink operations.
-
Removed members no longer receive messages from the group. Use this operation with caution.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:DeleteChatGroupParticipants |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BusinessNumber |
string |
Yes |
Nomor bisnis. Anda dapat memperoleh nomor bisnis dengan memanggil operasi ListChatGroup. |
8613800** |
| ChannelType |
string |
No |
Tipe saluran. Nilai valid:
Catatan
Saat ini, hanya saluran WhatsApp yang didukung. |
|
| GroupId |
string |
Yes |
ID kelompok. Anda dapat memperoleh ID kelompok dengan memanggil operasi ListChatGroup. |
EA93UU**** |
| CustSpaceId |
string |
Yes |
ID ruang sub-pelanggan ISV atau ID instans. ID ini juga merupakan ID saluran. Anda dapat mencari ID saluran di halaman Channel Management pada Konsol. |
cams-** |
| List |
array<object> |
No |
Daftar anggota kelompok yang akan dihapus. |
|
|
object |
No |
Information about a group member. |
||
| ParticipantNumber |
string |
No |
The participant number of the group member. You can obtain the participant numbers of group members by calling the ListChatGroupParticipants operation. |
86138*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
Details about the access denial. |
None |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Code |
string |
The status code. Valid values:
|
OK |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
false |
| Result |
integer |
The number of rows affected. |
20 |
Contoh
Respons sukses
JSONformat
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Code": "OK",
"Success": false,
"Result": 20
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.