列出访问列表中允许的条目

获取 /groups/{groupId}/apps/{appId}/security/access_list

列出 Atlas App Services App 的访问列表中允许的条目。

路径参数

响应

  • 200 application/json
    隐藏响应属性 显示响应属性 对象
    • current_ip 字符串
    • allowed_ips 大量[对象]
      隐藏 allowed_ips 属性 显示 allowed_ips 属性 对象
      • _id string(ObjectId)

        ObjectID

      • 地址 字符串
      • ip string(IP)

        net.IP

      • 网络 string(net.IPNet)

        net.IPNet

      • comment 字符串
GET /groups/{groupId}/apps/{appId}/security/access_list
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/security/access_list' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
响应示例 (200)
[
  {
    "current_ip": "string",
    "allowed_ips": [
      {
        "_id": "string",
        "address": "string",
        "ip": "string",
        "network": "string",
        "comment": "string"
      }
    ]
  }
]