Deletes a CA certificate.

Note CA certificates in use cannot be deleted.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeleteCACertificate

The name of this action.

Value: DeleteCACertificate

RegionId String Yes cn-hangzhou

The region to which the CA certificate belongs.

To query the region ID, call DescribeRegions.

CACertificateId String Yes 123157908xxxxxxx_15c73d77203_-986300114_-2110544xxx

The ID of the CA certificate.

Response parameters

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

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=DeleteCACertificate
&RegionId=cn-hangzhou
&CACertificateId=123157908xxxxxxx_15c73d77203_-986300114_-2110544xxx
&<CommonParameters>

Response examples

XML format

<DeleteCACertificateResponse>
  <RequestId>CEFxxxxx72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
</DeleteCACertificateResponse>

JSON format

{
	"RequestId":" CEFxxxx72CEB-54B6-4AE8-B225-F876FF7BA984"
}

Error codes

See common error codes.