All Products
Search
Document Center

Cloud Firewall:DeleteDownloadTask

Last Updated:Jan 12, 2026

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the request and response. Valid values:

  • zh (default): Chinese.

  • en: English.

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.