Modifies the forwarding protocol type of a domain name.

Request parameters

Name Type Required Description
Domain String Yes The domain name to be operated.
Proxytype List Yes The list of supported forwarding protocol types. Value:
  • http
  • https
  • websocket
  • websockets

Response parameters

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

Example

Request example
https://ddospro.cn-hangzhou.aliyuncs.com/?Action=ModifyDomainProxy
&Domain=www.aliyun.com
&ProxyType=["http", "https"]
&public parameters
Response example
  • JSON format
    {
    	"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E"
    }