You can call the DeleteCACertificate API to delete a CA certificate.

Note CA certificates in use cannot be deleted.


Click here to perform a debug operation in OpenAPI Explorer and automatically generate an SDK code example.

Request parameters

Name Type Required? Example value Description
Action String Yes DeleteCACertificate

The action to perform. Valid value: DeleteCACertificate.

RegionId String Yes cn-hangzhou

The region to which the CA certificate belongs.

You can query the region ID by calling the DescribeRegions API.

CACertificateId String Yes 1231579085529123_15c73d77203_-986300114_-2110544408

The ID of the CA certificate

Response parameters

Name Type Example value Description
RequestId String CEF72CEB-54B6-4AE8-B225-F876FF7BA984

The ID of the request


Request example

Normal response examples

XML format


JSON format

	"RequestId":" CEF72CEB-54B6-4AE8-B225-F876FF7BA984"

Error response example

JSON format

	"Message":"The specified parameter is not valid.",

Error codes

Click here to view the error codes.