Organization API Keys on Projects
Cloud Manager will no longer support Automation, Backup, and Monitoring for MongoDB 3.6 and 4.0 after August 30th, 2024. Please upgrade your MongoDB deployment or migrate to Atlas.
- OAuth 2.0 authentication for programmatic access to Cloud Manager is available as a Preview feature.
- The feature and the corresponding documentation might change at any time during the Preview period. To use OAuth 2.0 authentication, create a service account to use in your requests to the Cloud Manager Public API.
Base URL: https://cloud.mongodb.com/api/public/v1.0
Use the following resources to view, create and assign, or unassign Organization programmatic API Keys within the specified Cloud Manager project.
Permissions
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 Project | Retrieve Project API Keys |
Create, update, or delete a Project API Key | |
Assign or unassign an Organization API Key to a Project |
Endpoints
Method | Endpoint | Description |
---|---|---|
GET | Get All Organization API Keys Assigned to One Project with ID
{GROUP_ID} . | |
PATCH | Modify Roles of One Organization API Key with ID
{API-KEY-ID} assigned to One Project with ID
{PROJECT-ID} . | |
POST | Create and Assign One Organization API Key with ID
{API-KEY-ID} to One Project with ID {PROJECT-ID} . | |
PATCH | Assign One Existing Organization API Key with ID
{API-KEY-ID} to One Project with ID {PROJECT-ID} . | |
DELETE | Unassign One Organization API Key with ID {API-KEY-ID}
from One Project. |