You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Patch management
DeletePatchPlan - Deletes a patch plan
Copy page
Download PDF
DeletePatchPlan - Deletes a patch plan
Call DeletePatchPlan to delete a patch plan.​
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: DeletePatchPlan​
The operation that you want to perform. Value: DeletePatchPlan.​
​
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-yedfvyt41q5s2jax****​
The ID of the patch plan.​
​
​
​
Sample request​
​
POST /?Version=2020-04-01&Action=DeletePatchPlan HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
AccessKey: AK*****************​
SecretKey: TXpS***************​
ServiceName: ecs​
Region: cn-beijing​
X-Top-Account-Id: 21000*****​
Content-Type: application/json​
​
{​
"PatchPlanId": "pp-87654321zyx****"​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202601221010101010****",​
"Action": "DeletePatchPlan",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"PatchPlanId": "pp-87654321zy****"​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.​
​
Status code​
Error code​
Error message​
Description​
400​
InvalidArgument​
The specified argument is invalid.​
The specified parameter is invalid.​
500​
InternalError​
An internal error has occurred.​
An internal error occurred. Try again. If multiple attempts fail, submit a ticket.​
​
Last updated: 2026.06.18 17:48:27