dcloud iam invitations create

Invite 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

  • --emailRequired

    string

    The address to invite; the invitation is mailed there

    Constraints: email

  • --roleOptional

    enum

    The organization role, and its preset policy, the person gets on accepting; none attaches no policy; default member

    One of: admin, member, viewer, billing, none

    Default: "member"

  • --group-idOptional

    string

    A group of this organization the person joins on accepting

    Constraints: uuid

  • --role-idOptional

    string

    A role of this organization the person is given on accepting

    Constraints: uuid

Example

dcloud iam invitations create --email example

Generated from the API description, the same one the API checks requests against and the CLI is built from.