Modifies the delivery settings of a real-time log task for a user.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskName |
string |
Yes |
The task name. |
cdn-test-task |
| SiteId |
integer |
No |
The site ID, which can be obtained by calling the ListSites operation. |
123456**** |
| FieldName |
string |
Yes |
The list of delivery fields to modify, separated by commas. |
ClientIP,UserAgent |
| BusinessType |
string |
No |
The log type of real-time logs. Valid values:
|
dcdn_log_er |
| DiscardRate |
number |
No |
The discard rate. |
0.0 |
| FilterVer |
string |
No |
The version of the filter rule. Note
Compatible with legacy filter rules. The default value is v1. Newly created rules use v2. |
v2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
34DCBC8A-****-****-****-6DAA11D7DDBD |
Examples
Success response
JSON format
{
"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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.