You can call this operation to enable or disable protection for a specified domain against malicious IPv6 traffic.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description 
Action Boolean No ModifyDomainIpv6Status

The operation that you want to perform. Set the value to ModifyDomainIpv6Status.

Domain String No www.example.com

The domain that has been added to WAF.

Enabled String No 0

Specifies whether to enable protection against malicious IPv6 traffic. Valid values:

  • 0: disables protection
  • 1: enables protection
InstanceId String No 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.

Samples

Sample request

http(s)://[Endpoint]/? Action=ModifyDomainIpv6Status
&Domain=www.example.com
&Enabled=0
&InstanceId=waf-cn-mp9153****
&<Common request parameters>

Sample success responses

XML format

<RequestId>D7861F61-5B61-46CE-A47C-6B19160D5EB0</RequestId>

JSON format

{
	"RequestId":"D7861F61-5B61-46CE-A47C-6B19160D5EB0"
}

Errors

For a list of error codes, visit the API Error Center.