列出访问列表中允许的条目
列出 Atlas App Services App 的访问列表中允许的条目。
路径参数
-
Atlas 项目/组 ID。
-
您的应用程序的 ObjectID。App Services API 项目和应用程序 ID 部分演示了如何查找此值。
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"
}
]
}
]