Cancels O&M events.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CancelActiveOperationTasks

The operation that you want to perform. Set the value to CancelActiveOperationTasks.

RegionId String Yes cn-hangzhou

The region ID of the instances for which the requested O&M events are configured.

Ids String Yes 111

The collection of the O&M event IDs, which are separated with commas (,).

Response parameters

Parameter Type Example Description
RequestId String AE4F6C34-065F-45AA-B5DC-4B8D816F6305

The ID of the request.

Ids String 111,1223

The collection of the O&M event IDs, which are separated with commas (,).

Examples

Sample requests

http(s)://[Endpoint]/?Action=CancelActiveOperationTasks
&RegionId=cn-hangzhou
&Ids=111
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<CancelActiveOperationTasksResponse>
    <RequestId>AE4F6C34-065F-45AA-B5DC-4B8D816F6305</RequestId>
    <Ids>111,1223</Ids>
</CancelActiveOperationTasksResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "AE4F6C34-065F-45AA-B5DC-4B8D816F6305",
  "Ids" : "111,1223"
}

Error codes

For a list of error codes, visit the API Error Center.