You can call this operation to modify the database whitelist.


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 ModifyDrdsIpWhiteList

Modifies the database whitelist of an instance.

DbName String Yes test

The name of the DRDS database.

DrdsInstanceId String Yes drds****c6vxxyzd

The ID of the Message Queue for Apache Kafka instance.

IpWhiteList String Yes 127. ***. ***.***,10. ***. ***. ***

The modified whitelist. Separate multiple IP addresses with commas (,).

Mode Boolean No false

Specifies the mode. Valid values:

  • True: append modifications
  • False: overwrite modification
GroupName String No drds_ ******

The name of the IP address whitelist group.

GroupAttribute String No Group 1

The attribute of the IP address whitelist group.

Response parameters

Parameter Type Example Description
RequestId String 933A1EC2-8260-4D4F-A56A-73BA27******

The ID of the request.

Success Boolean true

Indicates whether the request was successful.


Sample requests

http(s):// Action=ModifyDrdsIpWhiteList
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "933A1EC2-8260-4D4F-A56A-73BA27******",
    "Success": true

Error codes

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