Modify the IP address whitelist of an RDS instance

Last Updated: Jan 16, 2018


Modify the list of IP addresses that are allowed to access an instance. The operation is successful only if, the following conditions are fulfilled:

  • The instance is running.

  • The instance is not locked.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: ModifySecurityIps.
DBInstanceId String Yes Instance ID.
SecurityIps String No List of IP addresses under the IP address whitelist array. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include, (IP), and (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
DBInstanceIPArrayName String No Name of an IP address whitelist array. If no value is specified, the “Default” array is used.
Note: One instance supports 50 whitelist arrays at most.
DBInstanceIPArrayAttribute String No This parameter is left blank by default. This parameter differentiates attribute values. The console does not display arrays labeled as “hidden”.

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.


  • Request example

    2. &DBInstanceId=rdsaiiabnaiiabn
    3. &SecurityIps=
    4. &<Public Request Parameters>
  • Return example

    XML format:

    1. <ModifySecurityIpsResponse>
    2. <RequestId>65BDA532-28AF-4122-AA39-B382721EEE64</RequestId>
    3. </ModifySecurityIpsResponse>

    JSON format:

    1. {
    2. "RequestId": " 65BDA532-28AF-4122-AA39-B382721EEE64"
    3. }
Thank you! We've received your feedback.