Deletes a certificate and the private key and certificate chain of the certificate.
Operation description
After the certificate and its private key and certificate chain are deleted, they cannot be restored. Proceed with caution.
In this example, the certificate whose ID is 9a28de48-8d8b-484d-a766-dec4**** and its private key and certificate chain are deleted.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| CertificateId | string | Yes | The ID of the certificate. It is the globally unique identifier (GUID) of the certificate in Alibaba Cloud Certificate Manager. | 9a28de48-8d8b-484d-a766-dec4**** |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "d97f6c33-ca26-4de2-a580-0e2fd1c5bfb0"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 404 | Certificate.NotFound | The specified certificate is not found. | The specified certificate does not exist. |
For a list of error codes, visit the Service error codes.
