Navigation

Organization API Keys on Projects

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
Project Owner or Project User Admin Create, update, or delete a Project API Key
Project Owner or Project User Admin Assign or unassign an Organization API Key to a Project

Endpoints

Method Endpoint Description
GET /groups/{GROUP-ID}/apiKeys Get All Organization API Keys Assigned to One Project with ID {GROUP_ID}.
PATCH /groups/{GROUP-ID}/apiKeys/{API-KEY-ID} Modify Roles of One Organization API Key with ID {{API-KEY-ID}} assigned to One Project with ID {{GROUP-ID}}.
POST /groups/{GROUP-ID}/apiKeys Create and Assign One Organization API Key with ID {{API-KEY-ID}} to One Project with ID {{GROUP-ID}}.
POST /groups/{GROUP-ID}/apiKeys/{API-KEY-ID} Assign One Existing Organization API Key with ID {{API-KEY-ID}} to One Project with ID {{GROUP-ID}}.
DELETE /groups/{GROUP-ID}/apiKeys/{API-KEY-ID} Unassign One Organization API Key with ID {API-KEY-ID} from One Project.