Deletes a certificate authority (CA) certificate.
Operation description
You cannot delete a CA certificate that is in use.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DeleteCACertificate |
delete |
*certificate
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region of the CA certificates. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| CACertificateId |
string |
Yes |
The CA certificate ID. |
123157908xxxxxxx_15c73d77203_-986300114_-2110544xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CertificateAndPrivateKeyIsRefered | The specified certificate is bound to listeners. You cannot delete it. | The specified Certificate is related with listeners. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.