You can call this operation to modify a network access whitelist.

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 String Yes ModifyIpWhitelist

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

ClusterId String Yes hb-bp16o0pd52e3y582s

The ID of the instance.

GroupName String Yes group_01

The name of the whitelist group.

IpList String Yes 218.30.113.40,192.168.0.23

The list of IP addresses.

IpVersion String Yes 6

The IP version. The version can be IPv4 or IPv6.

Response parameters

Parameter Type Example Description
RequestId String 50373857-C47B-4B64-9332-D0B5280B59EA

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ModifyIpWhitelist
&ClusterId=hb-bp16o0pd52e3y582s
&GroupName=group_01
&IpList=218.30.113.40,192.168.0.23
&IpVersion=6
&<Common request parameters>

Sample success responses

XML format

<RequestId>50373857-C47B-4B64-9332-D0B5280B59EA</RequestId>

JSON format

{
	"RequestId":"50373857-C47B-4B64-9332-D0B5280B59EA"
}

Error codes

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