Navigation

Teams

The teams resource provides access to retrieve or create Atlas teams.

https://cloud.mongodb.com/api/atlas/v1.0

MethodEndpointDescription
GET/orgs/{ORG-ID}/teamsGet all teams in an organization associated with {ORG-ID} to which the authenticated user has access.
GET/orgs/{ORG-ID}/teams/{TEAM-ID}Get the team with ID {TEAM-ID} in the organization associated with {ORG-ID}.
GET/orgs/{ORG-ID}/teams/byName/{TEAM-NAME}Get the team with name {TEAM-NAME} in the organization associated with {ORG-ID}.
GET/orgs/{ORG-ID}/teams/{TEAM-ID}/usersGet all users assigned to the team with ID {TEAM-ID} in the organization associated with {ORG-ID}.
POST/orgs/{ORG-ID}/teamsCreate one team in the organization associated with {ORG-ID}}.
POST/orgs/{ORG-ID}/teams/{TEAM-ID}/usersAdd one user from the organization associated with {ORG-ID} to the team with ID {TEAM-ID}.
POST/{GROUP-ID}/teams/Assign one Atlas team to the project associated with {GROUP-ID}.
PATCH/orgs/{ORG-ID}/teams/{TEAM-ID}Rename one team in one Atlas organization.
PATCH/groups/{PROJECT-ID}/teams/{TEAM-ID}Update the roles of one team in one Atlas project.
DELETE/orgs/{ORG-ID}/teams/{TEAM-ID}/users/{USER-ID}Remove the specified user from the specified team.
DELETE/groups/{GROUP-ID}/teams/{TEAM-ID}Removes the specified team from the specified project.
DELETE/orgs/{ORG-ID}/teams/{TEAM-ID}Delete the team with ID {TEAM-ID} from the organization specified to {ORG-ID}.
Info With Circle IconCreated with Sketch.Note

The API endpoints to Add Teams to a Project and Get Teams Assigned to a Project are documented in the Projects section.

Give Feedback