Skip to main content Link Menu Expand (external link) Document Search Copy Copied

auth0 roles create

Create a new role.

To create interactively, use auth0 roles create with no arguments.

To create non-interactively, supply the role name and description through the flags.

Usage

auth0 roles create [flags]

Examples

  auth0 roles create
  auth0 roles create --name myrole --description "awesome role"
  auth0 roles create -n myrole -d "awesome role" --json

Flags

  -d, --description string   Description of the role.
      --json                 Output in json format.
  -n, --name string          Name of the role.

Inherited Flags

      --debug           Enable debug mode.
      --no-color        Disable colors.
      --no-input        Disable interactivity.
      --tenant string   Specific tenant to use.