Deletes diagnostic reports.
Description
You can call this operation to delete the diagnostic reports that are no longer needed.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteDiagnosticReports |
The operation that you want to perform. Set the value to DeleteDiagnosticReports. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the diagnostic report. You can call the DescribeRegions operation to query the most recent region list. |
ReportIds.N | String | Yes | dr-uf6i0tv2refv8wz***** |
The ID of diagnostic report N. You can specify up to 100 report IDs. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE***** |
The ID of the request. |
Examples
Sample requests
http(s)://ecs.aliyuncs.com/?Action=DeleteDiagnosticReports
&RegionId=cn-hangzhou
&ReportIds=["dr-uf6i0tv2refv8wz*****"]
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteDiagnosticReportsResponse>
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE*****</RequestId>
</DeleteDiagnosticReportsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE*****"
}
Error codes
For a list of error codes, visit the API Error Center.