You can call this operation to query the IP address whitelist of a MongoDB 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 DescribeSecurityIps

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

DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

RegionId String No cn-hangzhou

The region ID of the instance. You can call the DescribeDBInstanceAttribute operation to query the region ID of the instance.

Response parameters

Prameter Type Sample response Description
SecurityIpGroups Array

The IP address whitelists.

SecurityIpGroupAttribute String hidden

The attribute of the IP address whitelist. This value is empty by default.

SecurityIpGroupName String default

The name of the whitelist.

SecurityIpList String,

The IP addresses in the whitelist.

SecurityIps String,

The IP addresses in the default whitelist.

RequestId String FC724D23-2962-479E-ABB1-606C935AE7FD

The ID of the request.


Sample requests

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

Sample success response

XML format


JSON format

    "SecurityIpGroups": {
        "SecurityIpGroup": [
                "SecurityIpList": "",
                "SecurityIpGroupAttribute": "",
                "SecurityIpGroupName": "allowserver"
                "SecurityIpList": ",",
                "SecurityIpGroupAttribute": "",
                "SecurityIpGroupName": "default"
    "SecurityIps": ",",
    "RequestId": "FC724D23-2962-479E-ABB1-606C935AE7FD"

Error codes

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