Acquia CLI

api:organizations:role-create

Creates a role.

For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.

Usage

acli api:organizations:role-create [--description DESCRIPTION] [--] <organizationUuid> <name> <permissions>...
acli api:organizations:role-create 1e7efab9-0fac-4a2c-ad94-61efc78623ba "My new role" --description="My role description" "permission 1" "permission 2"

Arguments

  • organizationUuid

    Required

    The organization entity's universally unique identifier.

  • name

    Required

    The name of the new role to create.

  • permissions

    Required

    An array of permissions to grant to this role.

    Defaults to []

Options

  • --description

    Required

    The description of the new role.

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the `list` command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false

Help

Ask a question

Common questions

If you can't find what you're looking for, then you can reach out to our Support team for further assistance.