Docs Menu
Docs Home
/
MongoDB Cloud Manager
/ / /

Organization Service Accounts

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.

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
Organization Owner or Organization User Admin
Create, update, or delete an Organization Service Account
Method
Endpoint
Description
GET
Get all service accounts for the organization identified with {ORG-ID}.
GET
Get one service account identified with its {CLIENT-ID} for the organization identified with {ORG-ID}.
GET
Get a list of all projects that an organization service account is assigned to. The organization is identified with {ORG-ID} and the service account is identified with {CLIENT-ID}.
POST
Create a service account for the organization identified with {ORG-ID}.
PATCH
Update one service account identified by its {CLIENT-ID} for the organization identified with {ORG-ID}.
DELETE
Delete the service account with ID {CLIENT-ID}.
POST
Create a secret for the organization service account identified with {ORG-ID} and {CLIENT-ID}.
DELETE
Delete the service account secret identified with {CLIENT-ID} and {SECRET-ID}.

Back

Revoke Service Account Token