List the allowed entries in the Access List

GET /groups/{groupId}/apps/{appId}/security/access_list

List the allowed entries in the Access List of your Atlas App Services App.

Path parameters

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • current_ip string
    • allowed_ips array[object]
      Hide allowed_ips attributes Show allowed_ips attributes object
      • _id string(ObjectID)

        ObjectID

      • address string
      • ip string(net.IP)

        net.IP

      • network string(net.IPNet)

        net.IPNet

      • comment string
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"
Response examples (200)
[
  {
    "current_ip": "string",
    "allowed_ips": [
      {
        "_id": "string",
        "address": "string",
        "ip": "string",
        "network": "string",
        "comment": "string"
      }
    ]
  }
]