Organization Service Accounts
- 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 /orgs/{ORG-ID}/serviceAccounts
resource to view, create, or delete
Service Accounts within the specified
Cloud Manager organization.
Permissions
To use these endpoints, grant the following roles to a project Service Account or user in your Organization:
Role | Possible Action |
---|---|
Any role in the Organization | Retrieve Organization Service Accounts |
| Create, update, or delete an Organization Service Account |
Endpoints
Method | Endpoint | Description |
---|---|---|
| Get all service accounts for the organization identified with
| |
| Get one service account identified with its | |
| Get a list of all projects that an organization service account is
assigned to. The organization is identified with | |
| Create a service account for the organization identified with
| |
| Update one service account identified by its | |
| Delete the service account with ID | |
| Create a secret for the organization service account identified with
| |
| Delete the service account secret identified with |