Baidu AI Cloud
中国站

百度智能云

CDN Abroad

Enable the Acceleration Domain Name Interface

Interface

This interface is used to start the accelerated domain name.

Method Path Description
PUT /v2/abroad/domain/{domain}?enable Enable the accelerated domain name

Response code(Http Status Code )

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

Request example

PUT /v2/abroad/domain/test.bcecdn.com?enable HTTP/1.1 
Host: cdn.baidubce.com 
Content-Length: 0

Response example

HTTP/1.1 200 OK 
Server: nginx 
Content-Type: application/json; charset=utf-8 
Connection: keep-alive 
x-bce-request-id: a428a0a5-7f2c-00d3-2a3-f22ef5b680f8

{"status":"OPERATING"}
Previous
Create the Domain Name Interface
Next
Stop the Acceleration Domain Name Interface