You can call this operation to modify an IP address whitelist of an instance.


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 ModifyDBInstanceSecurityIps

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

AliUid Long Yes 123456789123456

The ID of the Alibaba Cloud account.

GroupName String Yes WhileListGroupName

The name of the IP address whitelist.

InstanceId String Yes gp-xxxxxxxxxxx

The ID of the instance.

WhileList String Yes ","

The IP address whitelist of the instance. Separate multiple IP addresses with commas (,).

Response parameters

Parameter Type Example Description
Code String "200"

The internal status code.

HttpStatusCode Integer 200

The HTTP status code.

Message String Successful

The returned message.

RequestId String D4D4BE8A-DD46-440A-BFCD-EE31DA81C9DD

The ID of the request.

Success Boolean true

Indicates whether the request is successful.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "Message": "Successful",
  "RequestId": "D4D4BE8A-DD46-440A-BFCD-EE31DA81C9DD",
  "HttpStatusCode": 200,
  "Code": "200",
  "Success": true

Error codes

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