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

Elastic Compute Service

Copy page
Download PDF
Patch management
DeletePatchBaseline - Deletes a patch baseline
Copy page
Download PDF
DeletePatchBaseline - Deletes a patch baseline
Call DeletePatchBaseline to delete a patch baseline.​
Usage notes​
Deleting a patch baseline does not affect the normal operation of an instance or services, nor does it uninstall installed patches. However, it will invalidate the baseline associated with the 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: DeletePatchBaseline​
The operation that you want to perform. Value: DeletePatchBaseline.​
​
Version string required Sample value: 2020-04-01​
The API version. Value: 2020-04-01.​
​
BaselineId string required Sample value: bl-xffsafgewgdf****​
The patch baseline ID. You can obtain it by calling CreatePatchBaseline. Valid value: You can pass in up to 1 patch baseline 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.​
BaselineId string Sample value: bl-xffsafgewgdf****​
The ID of the patch baseline.​
​
​
​
Sample request​
​
POST /?Version=2020-04-01&Action=DeletePatchBaseline 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​
​
{​
"BaselineId": "bl-12345678abc****"​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202601221003030303****",​
"Action": "DeletePatchBaseline",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"BaselineId": "bl-12345678abcd****"​
}​
}​
​
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.03.30 11:55:53