dcloud iam members set-role

Change a member org role

IAM iam:UpdateMemberChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud iam members set-role id --role role

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --roleRequired

    enum

    The member’s new organization role; the owner’s cannot be changed

    One of: admin, member, viewer, billing

Example

dcloud iam members set-role id --role admin

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