Deletes the index files of live stream recordings.
Operation description
You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DeleteLiveStreamRecordIndexFiles |
delete |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| RecordId |
array |
Yes |
The array of index file IDs. |
c4d7f0a4-b506-43f9-8de3-07732c3f**** |
|
string |
No |
The index file ID. You can specify up to 20 IDs. Note
To obtain the index file ID, call the DescribeAllStreamRecordIndexFiles operation. |
c4d7f0a4-b506-43f9-8de3-07732c3f**** |
|
| DomainName |
string |
Yes |
The main streaming domain. |
example.com |
| AppName |
string |
Yes |
The AppName of the live stream. |
liveApp**** |
| StreamName |
string |
Yes |
The stream name. |
liveStream**** |
| RemoveFile |
string |
Yes |
Specifies whether to delete the associated OSS objects at the same time. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| Code |
string |
The status code. If an error occurs, see the error codes. |
OK |
| Message |
string |
The status message. If an error occurs, see the error codes. |
OK |
| RecordDeleteInfoList |
object |
||
| RecordDeleteInfo |
array<object> |
The deletion details. |
|
|
object |
The deletion details. |
||
| Message |
string |
The result of the request to delete each index file. Valid values:
|
OK |
| RecordId |
string |
The ID of the index file that you requested to delete. |
c4d7f0a4-b506-43f9-8de3-07732c3f** |
| RequestId |
string |
The request ID. |
939D19EE-59A0-18E9-B458-***** |
Examples
Success response
JSON format
{
"Code": "OK",
"Message": "OK",
"RecordDeleteInfoList": {
"RecordDeleteInfo": [
{
"Message": "OK",
"RecordId": "c4d7f0a4-b506-43f9-8de3-07732c3f**"
}
]
},
"RequestId": "939D19EE-59A0-18E9-B458-*****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | Failed to parse given parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.