Skip to content

ezgh iam users invite

Invite someone into the organization; prints the accept link.

Updated View as Markdown
ezgh iam users invite --email <email> [--group g]… [--policy p]… [--expires-in-days n] [flags]

Invite someone into the organization, with the groups and policies they get when they accept. No email is sent: share the accept link (printed on stdout), or they’ll see the invitation when they sign in, or with ezgh invitations list. It matches their verified email, and expires in 7 days unless --expires-in-days (1 to 30) says otherwise.

Part of ezgh iam users.

Examples

ezgh iam users invite --email bob@acme.test --group ops --policy ReadOnlyAccess

Flags

Flag Type Default Description
--email string their email address
--expires-in-days int expire after 1 to 30 days (default 7)
--group strings, comma-separated or repeated a group they join on accepting (repeat, or comma-separate)
--policy strings, comma-separated or repeated a policy attached to them on accepting (repeat, or comma-separate)

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close