invite
invite a user to the account
✉️ Invite a user to the account.
Send an invitation by email with a role, list the account's invitation activity,
and resend or revoke a pending invitation. Invitations belong to the active
account — pass --account <id> to target a different one.
Usage
csph teams invite <email> [flags]
Options
Command Specific
Formatting
For more information about formatting options, see Formatting.
Inherited
Examples
# invite a user as a member
> csph teams invite [email protected] --role member
# invite an admin
> csph teams invite [email protected] --role admin
# invite a read-only viewer
> csph teams invite [email protected] --role viewer
# list the account's invitation activity
> csph teams invite list
# resend a pending invitation
> csph teams invite resend <invitation-id>
# revoke a pending invitation
> csph teams invite revoke <invitation-id>
See also
- csph teams — manage teams
- csph teams get — get teams
- csph teams list — list teams
- csph teams create — create teams
- csph teams update — update teams
- csph teams delete — delete teams