MongoDB Teams API

Returns, adds, edits, or removes teams.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 13

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/groups/{groupId}/teams List teams in a project · Return All Teams in One Project #
Ask an LLM
“Which teams have access to a particular project?”
“Can I see every team in one project?”
Tell an agent
List the teams in project {groupId}.
Show all teams with access to project {groupId}.
POST /api/atlas/v2/groups/{groupId}/teams Add teams to a project · Add Multiple Teams to One Project #
Ask an LLM
“How do I add several teams to a project at once?”
“Can I grant a new team project access in one call?”
Tell an agent
Add these teams to project {groupId}.
Grant multiple teams project access in project {groupId}.
DELETE /api/atlas/v2/groups/{groupId}/teams/{teamId} Remove a team from a project · Remove One Team from One Project #
Ask an LLM
“How do I revoke a team's access to a project?”
“Can I remove one team from a project?”
Tell an agent destructive · confirm first
Remove team {teamId} from project {groupId}.
Revoke project {groupId} access for team {teamId}.
GET /api/atlas/v2/groups/{groupId}/teams/{teamId} Get one team in a project · Return One Team in One Project #
Ask an LLM
“What roles does a specific team have in a project?”
“Can I look up one team by ID within a project?”
Tell an agent
Get team {teamId} in project {groupId}.
Show the roles of team {teamId} in project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/teams/{teamId} Change a team's roles in a project · Update Team Roles in One Project #
Ask an LLM
“Can I change the roles a team holds in a project?”
“How do I promote a team to a different project role?”
Tell an agent
Set team {teamId} in project {groupId} to roles {roleNames}.
Change the project roles of team {teamId} in project {groupId} to {roleNames}.
GET /api/atlas/v2/orgs/{orgId}/teams List teams in an organization · Return All Teams in One Organization #
Ask an LLM
“Which teams exist across all of my organization's projects?”
“Can I list every team in an organization?”
Tell an agent
List the teams in organization {orgId}.
Show all teams across projects in organization {orgId}.
POST /api/atlas/v2/orgs/{orgId}/teams Create a team in an organization · Create One Team in One Organization #
Ask an LLM
“How do I create a new team for my organization?”
“Can I add a team with a list of users in one call?”
Tell an agent
Create team {name} in organization {orgId} with users {usernames}.
Add a new team called {name} to organization {orgId}.
GET /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName} Look up an organization team by name · Return One Team by Name #
Ask an LLM
“What team ID matches a team name in my organization?”
“Can I find an organization team by its human-readable label?”
Tell an agent
Find the team named {teamName} in organization {orgId}.
Look up organization team {teamName} in {orgId}.
DELETE /api/atlas/v2/orgs/{orgId}/teams/{teamId} Delete an organization team · Remove One Team from One Organization #
Ask an LLM
“How do I delete a team from my organization?”
“Can I remove an entire team from an organization?”
Tell an agent destructive · confirm first
Delete team {teamId} from organization {orgId}.
Remove organization team {teamId} in {orgId}.
GET /api/atlas/v2/orgs/{orgId}/teams/{teamId} Get an organization team by ID · Return One Team by ID #
Ask an LLM
“What roles does a team have in my organization?”
“Can I fetch an organization team using its 24-digit ID?”
Tell an agent
Get organization team {teamId}.
Show the roles of team {teamId} in organization {orgId}.
PATCH /api/atlas/v2/orgs/{orgId}/teams/{teamId} Rename an organization team · Rename One Team #
Ask an LLM
“Can I rename a team in my organization?”
“How do I change the label of an existing organization team?”
Tell an agent
Rename team {teamId} in organization {orgId} to {name}.
Change the name of organization team {teamId} to {name}.
POST /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users Add users to an organization team (deprecated) · Assign MongoDB Cloud Users in One Organization to One Team #
Ask an LLM
“Is the deprecated endpoint still available for adding users to an organization team?”
“Can I add several users to an organization team in one call?”
Tell an agent
Add these users to organization team {teamId} in {orgId} using the deprecated endpoint.
Use the deprecated add-users-to-team call to add users to team {teamId} in organization {orgId}.
DELETE /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId} Remove a user from an organization team (deprecated) · Remove One MongoDB Cloud User from One Team #
Ask an LLM
“Is the deprecated endpoint still available for removing a user from an organization team?”
“Can I take one user off an organization team with the older call?”
Tell an agent destructive · confirm first
Remove user {userId} from organization team {teamId} in {orgId} using the deprecated endpoint.
Use the deprecated remove-user-from-team call to drop user {userId} from team {teamId} in organization {orgId}.

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-teams-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-teams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Teams 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 Teams 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 (73 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-teams-api-openapi.yml