deleteCertificate

Prev Next

Available in Classic and VPC

Delete an SSL certificate.

Request

The following describes the request format for the endpoint. The request format is as follows:

Method URI
DELETE /certificate/{certificateNo}

Request headers

For headers common to all Certificate Manager APIs, see Common Certificate Manager headers.

Request path parameters

The following describes the parameters.

Field Type Required Description
certificateNo String Required Certificate number

Request query parameters

The following describes the parameters.

Field Type Required Description
certificateName String Required Certificate name

Request example

The following is a sample request.

curl --location --request DELETE 'https://certificatemanager.apigw.ntruss.com/api/v1/certificate/30728?certificateName=zero-certi' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'accept: application/json' 

Response

The following describes the response format.

Response body

The following describes the response body.

Field Type Required Description
returnCode String - Response code
returnMessage String - Response message
totalRows Integer - Number of SSL certificates (sslCertificateList)

Response status codes

For response status codes common to all Certificate Manager APIs, see Common Certificate Manager response status codes.

Response example

The following is a sample example.

{
    "returnCode": "0",
    "returnMessage": "Success",
    "totalRows": 0
}