Navigation

Remove a Team from a Project

The Atlas API uses HTTP Digest Authentication. Provide your Atlas username and API key as the username and password when constructing the HTTP request.

For complete documentation on configuring API access for an Atlas project, see Configure Atlas API Access.

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

Syntax

DELETE /groups/{GROUP-ID}/teams/{TEAM-ID}

Request Path Parameters

Path Element Required/Optional Description
GROUP-ID Required. The unique identifier for the group from which you want to remove a team.
TEAM-ID Required The unique identifier of the team that you want to remove from a project.

Request Query Parameters

The following query parameters are optional:

Query Parameter Type Description Default
pretty boolean Displays response in a prettyprint format. false
envelope boolean Specifies whether or not to wrap the response in an envelope. false

Request Body Parameters

This endpoint does not use HTTP request body parameters.

Response

This endpoint does not return a response body.

Example

Request

curl -X DELETE --digest --user "{username}:{apiKey}" \
 "https://cloud.mongodb.com/api/atlas/v1.0/groups/6b9edfc387d9d60af01e0c23/teams/6bdc97b980eef5147f82307g?pretty=true"

Response

This endpoint does not return a response body.