Deletes a file download task.
Operation description
This operation deletes a file download task and its corresponding file.
danger The deletion is immediate and permanent. The file can no longer be downloaded using the existing download link. This operation is irreversible. Proceed with caution.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| TaskId |
string |
No |
The ID of the file download task. |
4376 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
064022A8-F415-572C-B3C1-657152833F11 |
A successful response indicates that the task is deleted.
Examples
Success response
JSON format
{
"RequestId": "064022A8-F415-572C-B3C1-657152833F11"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorDBTxError | A database transaction error occurred. | The error message returned because an internal error has occurred in the database transaction. |
| 400 | ErrorDBDeleteError | A database delete error occurred. | An error occurred while deleting the database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.