mongocli iam projects teams add
On this page
Add team to a project.
Syntax
mongocli iam projects teams add <teamId> [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for add | |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
--projectId | string | false | Project ID to use. Overrides the settings in the configuration file or environment variable. |
--role | strings | true | Project role you want to assign to the team. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |