Baidu AI Cloud
中国站

百度智能云

CDN

Delete Domain Name Certificate

Interface

This interface is used to delete the certificate bound to the domain, that is, unbind the certificate and delete the certificate from the certificate library. A 404 error is returned if the domain is not bound to the certificate.

Method Path Description
DELETE /v2/{domain}/certificates Delete the certificate bound to the domain

domain: The domain name of the associated target certificate

Request Body None

Response Body The status code 200 indicates success. There is no response body at this moment.

Request Example

DELETE /v2/www.mydomain.com/certificates

Response Example

HTTP/1.1 200 OK
Server: nginx
Date: Wed, 28 Aug 2019 07:57:07 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/7.1.5
x-bce-request-id: 81302ad4-5a34-8aa2-60e5-a9ed63d333c
Previous
Query Domain Name Certificate
Next
Add & Modify Domain Name Certificate