You can call this operation to modify the whitelist of a cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyIpWhitelistGroup |
The operation that you want to perform. Set the value to ModifyIpWhitelistGroup. |
ClusterId | String | Yes | cds-uf6ig2gf****7pw9 |
The ID of the cluster. |
GroupName | String | Yes | test |
The name of the IP address whitelist. |
IpList | String | Yes | 218.30.***.40,192. ***.0.23 |
The list of IP addresses in the whitelist. |
IpVersion | Integer | Yes | 6 |
The IP version. Valid values: 4 and 6. |
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=ModifyIpWhitelistGroup
&ClusterId=cds-uf6ig2gf****7pw9
&GroupName=Web group
&IpList=218.30.***.40,192.***.0.23
&IpVersion=6
&<Common request parameters>
Sample success responses
XML
format
<ModifyIpWhitelistGroupResponse>
<RequestId>50373857-C47B-4B64-9332-D0B5280B59EA</RequestId>
</ModifyIpWhitelistGroupResponse>
JSON
format
{
"RequestId":"50373857-C47B-4B64-9332-D0B5280B59EA"
}
Error codes
For a list of error codes, visit the API Error Center.