mongocli iam users invite
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Invite a user.
Syntax
mongocli iam users invite [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--country | string | false | The ISO 3166-1 alpha 2 country code of the user’s country of residence. |
--email | string | true | User’s email address. |
--firstName | string | true | User’s first name. |
-h, --help | false | help for invite | |
--lastName | string | true | User’s last name. |
--mobile | string | false | The user’s mobile or cell phone number. |
--orgRole | strings | false | User's roles for the associated organization. |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--password | string | false | User’s password. |
--projectRole | strings | false | User's roles for the associated project. |
--username | string | true | Username of the user. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Auto generated by cobra2snooty on 13-Jul-2021