You can call this operation to query the IP whitelists of an ApsaraDB for 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

Parameter Type Example Description
SecurityIpGroups Array

An array that consists of the information of IP whitelists.

SecurityIpGroupAttribute String hidden

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

SecurityIpGroupName String default

The name of the IP 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 responses

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.