百度智能云

All Product Document

          CDN

          Delete the Acceleration Domain Name Interface

          This interface is used to delete the specified domain name. This domain name shall belong to the user, otherwise it returns 403 failure.

          Method Path Description
          DELETE /v2/domain/{domain} Delete an accelerated domain name

          domain:Should delete the accelerated domain name

          Response code (Http Status Code)

          HTTP Status Code Description
          200 Success
          404 The domain name does not exist or does not belong to the current user.

          Response body

          {"status":0}

          Request example

          DELETE /v2/domain/1.test.com HTTP/1.1 
          Host: cdn.baidubce.com 
          Accept: */* 
          Content-Length: 0
          Content-Type: application/x-www-form-urlencoded

          Response example

          HTTP/1.1 200 OK 
          Server: nginx 
          Date: Tue, 26 Jul 2016 05:05:30 GMT 
          Content-Type: application/json; charset=utf-8 
          Connection: keep-alive 
          
          {"status":0}
          Previous
          Enable the Acceleration Domain Name Interface
          Next
          Query Whether the Domain Name can be Added