Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / /

mongocli iam users invite

On this page

  • Syntax
  • Options
  • Inherited Options

Invite a user.

mongocli iam users invite [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.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by cobra2snooty on 13-Jul-2021

Back

describe