All Products
Search
Document Center

Edge Security Acceleration:UpdateUserDeliveryTask

Last Updated:Mar 28, 2026

Updates a delivery task, including the task name, log field, log category, and discard rate.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation Access level Resource type Condition key Associated operation
esa:UpdateUserDeliveryTask update
*All Resources
*
    none
none

Request parameters

Parameter Type Required Description Example
TaskName string Yes

The name of the delivery task.

test_project
FieldName string Yes

The log fields that you want to include in logs to be delivered. Separate the log fields with commas (,).

ClientRequestID,ClientRequestHost
BusinessType string No

The log category. Valid values:

  • dcdn_log_access_l1 (default): access logs.
  • dcdn_log_er: Edge Routine logs.
  • dcdn_log_waf: firewall logs.
  • dcdn_log_ipa: TCP/UDP proxy logs.
dcdn_log_er
DiscardRate float No

The discard rate. Default value: 0.

0

Response parameters

Parameter Type Description Example
object

The response parameters.

RequestId string

The request ID.

34DCBC8A-****-****-****-6DAA11D7DDBD

Examples

Sample success responses

JSONformat

{
  "RequestId": "34DCBC8A-****-****-****-6DAA11D7DDBD"
}

Error codes

HTTP status code Error code Error message Description
400 InvalidParameter The specified parameter is invalid. The specified parameter is invalid.
400 InternalError An internal exception occurred, please try again later. An inner exception was triggered. Please try again later.
403 EsaService.NotOpen ESA service has not opend. Edge Security Accelerator (ESA) is not turned on

For a list of error codes, visit the Service error codes.

Change history

Change time Summary of changes Operation
2024-12-26 The Error code has changed. The request parameters of the API has changed View Change Details
2024-10-18 The Error code has changed View Change Details
2024-09-27 The Error code has changed View Change Details