Baidu AI Cloud
中国站

百度智能云

CDN

Delete the Domain Name Certificate

Interface

This interface is used to delete certificates bound to the domain (unbind certificates and delete them from the certificate library). Return 404 if no certificate is bound to the domain.

method path Description
DELETE /v2/{domain}/certificates Delete the certificate bound for domain

domain: Correlate the domain name of the target certificate.

Request body None

Response body Successfully mark status code 200, there is no response now.

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 the Domain Name Certificate
Next
Forward-to-origin Configuration Interface