Modifies the execution time of O&M events.


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 ModifyActiveOperationTasks

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

RegionId String Yes cn-hangzhou

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

Ids String No 1

The IDs of the requested O&M events.

SwitchTime String No Time in UTC.

The start time of the O&M event switching.

ImmediateStart Long No 1

Indicates whether to execute the modify operation immediately.

  • 1: indicates to execute the modify operation immediately.
  • 0: indicates to execute the modify operation at a specified time.

Response parameters

Parameter Type Example Description
RequestId String 8C9CC90A-9532-4752-B59F-580112C5A45B

The ID of the request.

Ids String 1

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


Sample requests

&SwitchTime=Time in UTC
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "8C9CC90A-9532-4752-B59F-580112C5A45B",
  "Ids" : "1"

Error codes

HttpCode Error code Error message Description
400 IdempotentParameterMismatch The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. The error message returned because the request uses the same token that is used by a non-identical request. Only identical requests can use the same client token.

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