百度智能云

All Product Document

          CDN

          Configure the Dynamic Acceleration Service

          This interface is used to enable/disable the dynamic acceleration service. You can enable the dynamic acceleration service again after 00:00 the next day after it is disabled.

          Method Path Description
          PUT /v2/dsa/ Configure dynamic acceleration service

          Request body

          Parameter Optional Type Description
          action Required String "enable " means enabling the dynamic acceleration service, and “disable " means disabling it.

          Response code (Http Status Code)

          HTTP Status Code Description
          200 Success

          Request example

          PUT /v2/dsa HTTP/1.1 
          Host: cdn.baidubce.com 
          Content-Length: 20
          
          {"action": "enable"} 

          Response example

          HTTP/1.1 200 OK 
          Content-Length: 0
          Content-Type: application/json;utf-8
          x-bce-request-id: 81d0b05f-5ad4-1f22-8068-d5c9de60a1d7
          Server: BWS
          Previous
          Configure the Dynamic Acceleration Rules of Domain Name
          Next
          Log Interface