Navigation

Personal API Key Whitelist (Deprecated)

Info With Circle IconCreated with Sketch.Note

Groups and projects are synonymous terms. Your {GROUP-ID} is the same as your project ID. For existing groups, your group/project ID remains the same. The resource and corresponding endpoints use the term groups.

Important With Circle IconCreated with Sketch.Important
Atlas deprecated Personal API keys
  • You can't create new Personal API Keys.
  • You can't access the API using your existing Personal API Keys starting March 1, 2021.
  • You must update any existing scripts or tools to use Programmatic API Keys instead.
Info With Circle IconCreated with Sketch.Note

Don't confuse this resource with the Project IP Access List resource. That resource controls client access to the project's MongoDB clusters.

Use the following resource to retrieve and update your API whitelist.

Users with the Project Owner role in the project perform whitelisted API operations from the IP addresses you have added to this list.

Atlas whitelists this resource's POST and DELETE operations. These endpoints must originate from an address already on your API whitelist.

You can access the API whitelist only for the current user. The username and API key you use to authenticate must be those of the user identified in the endpoint. The endpoint identifies the user by user ID. To retrieve user IDs, see Get All Users in One Project.

Method
Endpoint
Description
GET
Get the API Whitelist for the Current User
GET
Get the API Whitelist Entry for a Specified Address or CIDR Block
POST
Add Entries to the User's API Whitelist
DELETE
Delete an Entry from the User's API Whitelist
Give Feedback