---
title: "Return All Project IP Access List Entries"
method: GET
path: "/api/atlas/v2/groups/{groupId}/accessList"
tags: ["Project IP Access List"]
---

# Return All Project IP Access List Entries

`GET /api/atlas/v2/groups/{groupId}/accessList`

Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations.

## Path parameters

- `groupId` string, required

## Query parameters

- `envelope` boolean
- `includeCount` boolean
- `itemsPerPage` integer
- `pageNum` integer
- `pretty` boolean

## Response `200`

OK

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/mongodb/apis/atlas-admin-api.md) · [All operations](https://skmtc.dev/mongodb/apis/atlas-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mongodb/atlas-admin-api/revisions/e37e8ef8429f/schema)
