Updated on 2023-12-18 GMT+08:00

Deleting a Certificate

Function

This API is used to delete a certificate.

Constraints

If the target certificate is used by a listener, the certificate cannot be deleted, and 409 code will be displayed.

URI

DELETE /v2/{project_id}/elb/certificates/{certificate_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

certificate_id

Yes

String

Specifies the certificate ID.

Request

None

Response

None

Example Request

  • Example request: Deleting a certificate
    DELETE https://{Endpoint}/v2/a31d2bdcf7604c0faaddb058e1e08819/elb/certificates/23ef9aad4ecb463580476d324a6c71af

Example Response

  • Example response

    None

Status Code

For details, see Status Codes.