Docs Menu
Docs Home
/ /

Organization Programmatic API Keys

Base URL: https://cloud.mongodb.com/api/public/v1.0

Use the /orgs/{ORG-ID}/apiKeys resource to view, create, or delete Programmatic |api| Keys within the specified Cloud Manager organization.

Important

We recommend you use Service Accounts instead of API keys for API authentication.

To use these endpoints, grant the following roles to an Project API Key or user in your Organization:

Role
Possible Action

Any role in the Organization

Retrieve Organization API Keys

Organization Owner or Organization User Admin

Create, update, or delete a Organization API Key

Method
Endpoint
Description

GET

Get all API Keys for the organization identified with {ORG-ID}.

GET

Get one API Key for the organization identified with {ORG-ID}.

POST

Create an API Key for the organization identified with {ORG-ID}.

PATCH

Update one API Key for the organization identified with {ORG-ID}.

DELETE

Delete the API Key with ID {API-KEY-ID}.

Back

Programmatic API Keys