mongocli iam project team delete¶
mongocli iam project team delete command removes a team from
the specified project using the specified profile. The team still
exists in the organization in which it was created after being deleted
from a project.
You must have the
Project Owner role to run this
mongocli iam project|s team|s delete|rm <team-ID> [ --projectID <project-id> ] [ --force ] [ --profile|-P <profile-name> ]
--help to view the command-line help for
Unique identifier of the team you want to delete from the specified project.
You can retrieve a list of team IDs for your project with the iam project team list command.
Unique identifier of the project for that contains the team you want to delete. If omitted, uses the project ID in your profile or environment variable.
Flag that indicates that the team can be deleted without requiring confirmation.
Name of the profile that contains the access information. If omitted, uses the default profile.
The command prints the following fields in the specified format to the terminal if the command succeeds. If the command prints an error, see Troubleshooting for recommended solutions.
Team '<team-ID>' deleted
The following command deletes a team with ID
in an Atlas project. It uses the default profile for
mongocli iam project team delete 5e44445ef10fab20b49c0f31 --projectId 5dd6faab74979f10f39ffb78 --force
The previous command prints the following to the terminal.
Team '5e44445ef10fab20b49c0f31' deleted