MongoDB Organizations API

Returns, adds, and edits organizational units in MongoDB Cloud.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 20

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/atlas/v2/orgs List organizations I can access · Return All Organizations #
Ask an LLM
“Which MongoDB Cloud organizations does my API key have access to?”
“Can I filter my organizations by name?”
Tell an agent
List all organizations I can access.
Find organizations named {name}.
POST /api/atlas/v2/orgs Create a new organization · Create One Organization #
Ask an LLM
“How do I create a new organization in MongoDB Cloud?”
“Can I link a new organization to a federation when I create it?”
Tell an agent
Create an organization named {name}.
Create organization {name} linked to federation {federationSettingsId}.
DELETE /api/atlas/v2/orgs/{orgId} Delete an organization · Remove One Organization #
Ask an LLM
“How do I remove an organization I no longer need?”
“Can I delete an organization that still has active projects?”
Tell an agent destructive · confirm first
Delete organization {orgId}.
Remove the organization {orgId} from MongoDB Cloud.
GET /api/atlas/v2/orgs/{orgId} Get one organization · Return One Organization #
Ask an LLM
“What are the details of a specific organization?”
“Can I look up an organization by its ID?”
Tell an agent
Get organization {orgId}.
Show the details of organization {orgId}.
PATCH /api/atlas/v2/orgs/{orgId} Rename an organization · Update One Organization #
Ask an LLM
“Can I rename an existing organization?”
“What do I need to change to update an organization's name?”
Tell an agent
Rename organization {orgId} to {name}.
Update the name of organization {orgId} to {name}.
GET /api/atlas/v2/orgs/{orgId}/groups List projects in an organization · Return All Projects in One Organization #
Ask an LLM
“Which projects belong to a given organization?”
“Can I find a project by name within an organization?”
Tell an agent
List the projects in organization {orgId}.
Find the project named {name} in organization {orgId}.
GET /api/atlas/v2/orgs/{orgId}/invites List pending organization invitations · Return All Invitations in One Organization #
Ask an LLM
“Who is still waiting to accept an invitation to my organization?”
“Can I see only the invitation sent to a particular email address?”
Tell an agent
List all pending invitations to organization {orgId}.
Show the invitation to {username} in organization {orgId}.
PATCH /api/atlas/v2/orgs/{orgId}/invites Update pending organization invitations · Update One Invitation in One Organization #
Ask an LLM
“Can I change the roles on several pending organization invitations at once?”
“What's the way to update all pending invites in an organization?”
Tell an agent
Update the pending invitations in organization {orgId}.
Change the roles on all pending invites in organization {orgId} to {roles}.
POST /api/atlas/v2/orgs/{orgId}/invites Invite a user to an organization · Create Invitation for One MongoDB Cloud User in One Organization #
Ask an LLM
“How do I invite a new person to join my organization?”
“Can I assign roles and projects to an invited user?”
Tell an agent
Invite {username} to organization {orgId}.
Invite {username} to organization {orgId} with roles {roles}.
DELETE /api/atlas/v2/orgs/{orgId}/invites/{invitationId} Cancel a pending organization invitation · Remove One Invitation from One Organization #
Ask an LLM
“How do I withdraw an invitation that hasn't been accepted yet?”
“Can I cancel a pending organization invitation?”
Tell an agent destructive · confirm first
Cancel invitation {invitationId} in organization {orgId}.
Withdraw the pending invite {invitationId} to organization {orgId}.
GET /api/atlas/v2/orgs/{orgId}/invites/{invitationId} Get one pending org invitation · Return One Invitation in One Organization by Invitation ID #
Ask an LLM
“Can I check the status of a single pending invitation to an organization?”
“What role do I need to fetch one invitation by its ID?”
Tell an agent
Get invitation {invitationId} in org {orgId}.
Show pending invite {invitationId} for organization {orgId}.
PATCH /api/atlas/v2/orgs/{orgId}/invites/{invitationId} Update one pending organization invitation · Update One Invitation in One Organization by Invitation ID #
Ask an LLM
“Can I change the roles on a single pending organization invitation?”
“What's the way to edit one pending invite by its ID?”
Tell an agent
Update invitation {invitationId} in organization {orgId} with roles {roles}.
Change the projects on pending invite {invitationId} in organization {orgId} to {groupRoleAssignments}.
GET /api/atlas/v2/orgs/{orgId}/settings Get an organization's settings · Return Settings for One Organization #
Ask an LLM
“What settings are configured for my organization?”
“Can I see an organization's API access and MFA settings?”
Tell an agent
Get the settings for organization {orgId}.
Show organization {orgId}'s API access and MFA settings.
PATCH /api/atlas/v2/orgs/{orgId}/settings Update an organization's settings · Update Settings for One Organization #
Ask an LLM
“How do I require MFA for everyone in my organization?”
“Can I change the maximum secret validity for service accounts?”
Tell an agent
Require MFA for organization {orgId} by setting multiFactorAuthRequired to {multiFactorAuthRequired}.
Set the maximum service account secret validity in organization {orgId} to {maxServiceAccountSecretValidityInHours} hours.
PUT /api/atlas/v2/orgs/{orgId}/users/{userId}/roles Change a user's roles in an organization · Update Organization Roles for One MongoDB Cloud User #
Ask an LLM
“How do I change a user's organization-level roles?”
“Can I promote a user to an admin role in my organization?”
Tell an agent
Set the organization roles of user {userId} in organization {orgId} to {orgRoles}.
Promote user {userId} in organization {orgId} to roles {orgRoles}.
GET /api/atlas/v2/orgs/{orgId}/delegationSettings Get an organization's delegation settings · Return Delegation Settings for One Organization #
Ask an LLM
“Which delegated access policies are set for my organization?”
“Can I see how MCP access is permitted in my organization?”
Tell an agent
Get the delegation settings for organization {orgId}.
Show MCP and partner delegation settings in organization {orgId}.
PATCH /api/atlas/v2/orgs/{orgId}/delegationSettings Update an organization's delegation settings · Update Delegation Settings for One Organization #
Ask an LLM
“How do I allow partner delegated access in my organization?”
“Can I change how long refresh tokens stay valid?”
Tell an agent
Set partner delegated access in organization {orgId} to {delegatedPartnerAccess}.
Set the maximum refresh token lifetime in organization {orgId} to {maximumRefreshTokenLifetime} seconds.
GET /api/atlas/v2/orgs/{orgId}/maintenanceSettings Get an organization's maintenance settings · Return Maintenance Settings for One Organization #
Ask an LLM
“What maintenance wave assignment mode is my organization using?”
“Can I see the maintenance settings for an organization?”
Tell an agent
Get the maintenance settings for organization {orgId}.
Show the wave assignment mode of organization {orgId}.
PATCH /api/atlas/v2/orgs/{orgId}/maintenanceSettings Update an organization's maintenance settings · Update Maintenance Settings for One Organization #
Ask an LLM
“How do I switch my organization's maintenance waves to automatic assignment?”
“Can I change the wave assignment mode for an organization?”
Tell an agent
Set the wave assignment mode of organization {orgId} to {waveAssignmentMode}.
Change maintenance settings in organization {orgId} to wave mode {waveAssignmentMode}.
POST /api/atlas/v2/orgs/{orgId}/maintenanceSettings:reset Reset an organization's maintenance settings · Reset Maintenance Settings for One Organization #
Ask an LLM
“How do I restore an organization's maintenance settings to their defaults?”
“Can I reset maintenance wave assignment back to manual?”
Tell an agent destructive · confirm first
Reset the maintenance settings of organization {orgId} to their defaults.
Restore maintenance wave assignment in organization {orgId} to manual mode.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mongodb:mongodb-organizations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mongodb-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Organizations API
  version: '2.0'
  license:
    name: CC BY-NC-SA 3.0 US
    url: https://creativecommons.org/licenses/by-nc-sa/3.0/us/
  termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
  x-refined-note:
  - x-xgen-sha differs across the merged source definitions and was not carried
  description: 'Operations tagged Organizations across 2 of this provider''s published API definitions: mongodb-atlas-openapi.yaml, mongodb-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:


# --- truncated at 32 KB (128 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-organizations-api-openapi.yml