Docs Menu

Get Started with the Atlas Administration API

On this page

  • Required for All Resources: Generate an Organization API Key
  • Required for Select Resources: API Resource Request Access Lists
  • Use API Resources that Require an Access List
  • Require an API Access List for All Requests
Important

Each Atlas API has its own resources and requires initial setup. The Atlas Administration API and the Realm Admin API also use different access keys from the Data API.

To learn more, see APIs.

To access the Atlas Administration API, generate an API key for your organization.

All API keys belong to the organization. You can give an API key access to a project. To add the new API key to a project, Invite One Organization API Key to One Project

To learn more about managing API keys for your organization or project, see the Atlas Administration API Tutorials.

Atlas allows your API key to make requests from any address on the internet. Atlas has some exceptions to this rule. These exceptions limit which resources an API key can use without location-based limits.

To add these location-based limits to your API key, create an API Access List. This list limits the internet addresses from which a specific API key can make API requests.

Any API keys with an API access list require all API requests to come from an IP address on that list. Your API access list must include entries for all clients that use the API.

The following API resources require an API access list:

Create or remove an organization API key access list entry.

Take or remove one cloud backup snapshot.

You can require all API requests from an API key to come from an entry on its API access list. If you require API access lists, API keys can't make any API requests until you define at least one API access list entry.

To set your organization to require API access lists for every API key:

1
2
  1. If it is not already displayed, select your desired organization from the Organizations menu in the navigation bar.
  2. Click the Organization Settings icon next to the Organizations menu.
3
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.