Enables or disables Cname auto switch for a domain name.

Request parameters

Name Type Required Description
Domain String Yes The domain name to be operated.
Ip String Yes The Anti-DDoS Pro IP to be operated.
Enable Boolean Yes Determines whether to enable automatic switching of the CNAME.

Response parameters

Name Type Description
RequestId String The unique identifier (ID) for this request.


Request example
&public parameters
Response example
  • JSON format
    	"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E"