Enables or disables protection for a specific domain name against malicious IPv6 traffic.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyDomainIpv6Status |
The operation that you want to perform. Set the value to ModifyDomainIpv6Status. |
Domain | String | Yes | www.example.com |
The domain name that is added to WAF. |
Enabled | String | Yes | 0 |
Specifies whether to enable protection against malicious IPv6 traffic. Valid values:
|
InstanceId | String | Yes | waf-cn-mp9153**** |
The ID of the WAF instance. Note You can call the DescribeInstanceInfo operation to query the ID of the WAF instance.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D7861F61-5B61-46CE-A47C-6B19160D5EB0 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyDomainIpv6Status
&Domain=www.example.com
&Enabled=0
&InstanceId=waf-cn-mp9153****
&<Common request parameters>
Sample success responses
XML
format
<ModifyDomainIpv6StatusResponse>
<RequestId>D7861F61-5B61-46CE-A47C-6B19160D5EB0</RequestId>
</ModifyDomainIpv6StatusResponse>
JSON
format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19160D5EB0"
}
Error codes
For a list of error codes, visit the API Error Center.