dcloud iam invitations createInvite someone to the organization
IAM iam:InviteUserChanges state
role `none` attaches no preset policy; `groupId` / `roleId` add the person to a group of this organization or give them a role when they accept.
Synopsis
dcloud iam invitations create --email email [flags]Flags
--emailRequiredstring
The address to invite; the invitation is mailed there
Constraints: email
--roleOptionalenum
The organization role, and its preset policy, the person gets on accepting; none attaches no policy; default member
One of:
admin,member,viewer,billing,noneDefault:
"member"--group-idOptionalstring
A group of this organization the person joins on accepting
Constraints: uuid
--role-idOptionalstring
A role of this organization the person is given on accepting
Constraints: uuid
Example
dcloud iam invitations create --email exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.