Updates one or more operations reports.
- The maximum number of times that each user can call this operation per second is 3.
- You can specify multiple domain names (no more than 500) and separate them with commas (,).
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateCdnSubTask |
The operation that you want to perform. Set the value to UpdateCdnSubTask. |
Status | String | No | enable |
The status of the operations report. Valid values:
Note The Status parameter is reserved. You do not need to set it.
|
ReportIds | String | No | 1,3,5 |
The IDs of operations reports that you want to update. Separate IDs with commas (,). |
DomainName | String | No | www.example.com |
The domain names that you want to include in the operations report. If you do not specify a domain name, all domain names that belong to your Alibaba Cloud account are included. |
StartTime | String | No | 2021-04-17T00:00:00Z |
The start time of the operations report. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time must be in UTC+0. |
EndTime | String | No | 2021-06-17T00:00:00Z |
The end time of the operations report. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time must be in UTC+0. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
http(s)://cdn.aliyuncs.com/?Action=UpdateCdnSubTask
&ReportIds=1,3,5
&DomainName=www.example.com
&StartTime=2021-04-17T00:00:00Z
&EndTime=2021-06-17T00:00:00Z
&<Common request parameters>
Sample success responses
XML
format
<UpdateCdnSubTaskResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</UpdateCdnSubTaskResponse>
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
For a list of error codes, visit the API Error Center.