- Documentation
Elastic Compute Service
Elastic Compute Service
API Reference
Patch management
CancelPatchPlan - Cancels a patch plan
Patch management
CancelPatchPlan - Cancels a patch plan
CancelPatchPlan - Cancels a patch plan
Call CancelPatchPlan to cancel a patch plan.
Usage notes
Only scheduled and periodic patch plan tasks can be canceled, and canceled plans cannot be re-executed.
Debugging
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters. Action string required Sample value: CancelPatchPlan
The operation that you want to perform. Value: CancelPatchPlan.
Version string required Sample value: 2020-04-01
The API version. Value: 2020-04-01.
PatchPlanId string required Sample value: pp-yedfvyt41q5s2jax****
The patch plan ID. You can obtain it by calling CreatePatchPlan. Valid value: You can pass in up to 1 patch plan ID at a time.
Response parameters
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure. PatchPlanId string Sample value: pp-yedfvyt41q5s2ja****
The ID of the patch plan.
Sample request
Sample response
Error codes
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.
Last updated: 2026.03.30 11:55:54