Docs Menu

mongocli iam organizations invitations invite

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options

Invites one user to the organization that you specify.

mongocli iam organizations invitations invite <email> [options]
Name
Type
Required
Description
email
string
false
Email of the user being invited to the organization.
Name
Type
Required
Description
-h, --help
false
help for invite
--orgId
string
false
Organization ID to use. Overrides configuration file or environment variable settings.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--role
strings
true
User's roles for the associated organization.
--teamId
strings
false
The ID of the team.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.