Deletes the index files for live stream recordings.
Operation description
This API is limited to 100 queries per second (QPS) for each user. If you exceed the limit, API calls are throttled. Throttling can affect your business. We recommend that you call this API at a reasonable rate.
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 streaming domain. |
example.com |
| AppName |
string |
Yes |
The name of the application to which the stream belongs. |
liveApp**** |
| StreamName |
string |
Yes |
The stream name. |
liveStream**** |
| RemoveFile |
string |
Yes |
Specifies whether to delete the OSS files at the same time. Valid values:
|
true |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The information about the deleted files. |
||
| 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 list of deletion details. |
|
|
object |
The list of 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 | %s | |
| 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.