Deleting a Certificate
Function
This API is used to delete a certificate. If you delete a certificate from CCM, the certificate will only be deleted from the ELB console, but not from the CCM console. To delete a certificate associated with a listener, you need to unbind the certificate from the listener first.
Constraints
If the certificate is used by a listener, the certificate cannot be deleted, and the 409 Conflict error code will be displayed.
Calling Method
For details, see Calling APIs.
URI
DELETE /v3/{project_id}/elb/certificates/{certificate_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Definition: Specifies the project ID. For details about how to obtain a project ID, see Obtaining a Project ID. Constraints: N/A Range: The value can contain a maximum of 32 characters, including digits and lowercase letters. Default value: N/A |
certificate_id |
Yes |
String |
Specifies a certificate ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Definition: Specifies the token used for IAM authentication. Constraints: N/A Range: N/A Default value: N/A |
Response Parameters
Status code: 204
Successful request.
None
Example Requests
Deleting an SSL certificate
DELETE https://{ELB_Endpoint}/v3/99a3fff0d03c428eac3678da6a7d0f24/elb/certificates/233a325e5e3e4ce8beeb320aa714cc12
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
Successful request. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.