Menghapus pengguna dari saluran.
Deskripsi operasi
You can call this operation to remove one or more users from a channel.
QPS limit
You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:RemoveTerminals |
none |
*Rtc
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. Anda hanya dapat menentukan satu ID aplikasi di setiap permintaan. |
aec**** |
| ChannelId |
string |
Yes |
ID saluran. Anda hanya dapat menentukan satu ID saluran di setiap permintaan. |
testId |
| TerminalIds |
array |
Yes |
ID pengguna yang ingin Anda hapus. |
|
|
string |
No |
The IDs of the users that you want to remove. Valid values of N: 1 to 30. Format: |
1811**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
16A96B9A-F203-4EC5-8E43-CB92E68F4AF8 |
| Terminals |
array<object> |
The information about the users. |
|
|
object |
|||
| Code |
integer |
The returned status code. A value of 0 indicates that the request is successful. If the request fails, an error message is returned. |
0 |
| Message |
string |
The result of removing the specified users from the channel. Valid values:
|
Success |
| Id |
string |
The ID of the user. |
1811**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4AF8",
"Terminals": [
{
"Code": 0,
"Message": "Success",
"Id": "1811****"
}
]
}
Kode kesalahan
|
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 |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.