Closes a channel, which causes all current members in the channel to leave, but does not affect subsequent reuse of the channel.
Operation description
A channel is implicitly created when an RTC client SDK joins a session. You can call ListRTCLiveRooms to query existing channels.
The queries per second (QPS) limit for a single user is 100. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DeleteChannel |
none |
*Rtc
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
No |
The application ID. Only a single ID is supported. This parameter is required. If this parameter is not specified, the service returns InvalidInput. |
eo85**** |
| ChannelId |
string |
No |
The ID of the channel that has been joined. Only a single ID is supported. This parameter is required. If this parameter is not specified, the service returns InvalidInput. |
testid |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CF8 |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CF8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | 400 | InvalidInput | |
| 401 | 401 | InvalidAuth | |
| 500 | 500 | ServerError, Check App And Channel Exists,Retry | |
| 404 | 404 | AppOrChannelNotExists |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.