Navigation

Teams

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

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

Endpoints

Method Endpoint Description
GET /api/atlas/v1.0/orgs/{ORG-ID}/teams Get all teams in an organization associated with {ORG-ID} to which the authenticated user has access.
GET /api/atlas/v1.0/orgs/{ORG-ID}/teams/{TEAM-ID} Get the team with ID {TEAM-ID} in the organization associated with {ORG-ID}.
GET /api/atlas/v1.0/orgs/{ORG-ID}/teams/byName/{TEAM-NAME} Get the team with name {TEAM-NAME} in the organization associated with {ORG-ID}.
GET /api/atlas/v1.0/orgs/{ORG-ID}/teams/{TEAM-ID}/users Get all users assigned to the team with ID {TEAM-ID} in the organization associated with {ORG-ID}.
POST /api/atlas/v1.0/orgs/{ORG-ID}/teams Create a single team in the organization associated with {ORG-ID}}.
PATCH /api/atlas/v1.0/orgs/{ORG-ID}/teams/{TEAM-ID} Rename a team in an Atlas organization.
POST /api/atlas/v1.0/orgs/{ORG-ID}/teams{TEAM-ID}/users Add a user from the organization associated with {ORG-ID} to the team with ID {TEAM-ID}.
DELETE /api/atlas/v1.0/orgs/{ORG-ID}/teams/{TEAM-ID}/users/{USER-ID} Remove the specified user from the specified team.
DELETE /api/atlas/v1.0/orgs/{ORG-ID}/teams{TEAM-ID} Delete the team with ID {TEAM-ID} from the organization specified to {ORG-ID}.
DELETE /api/atlas/v1.0/groups/{GROUP-ID}/teams/{TEAM-ID} Removes the specified team from the specified project.