Skip to main content

Users

Creating a new user

Command

mogwai users create --username=USERNAME --password=PASSWORD [--role="USER"]

Options

  • -u, --username=USERNAME : Specify the username for the new user.
  • -p, --password=PASSWORD : Specify the password for the new user.
  • -r, --role="USER" : Specify the role for the new user. Supported roles are RESELLER and USER. The default role is USER.

Usage information

To create a new user with the username testuser, password My$ecretPassword123, and role RESELLER, use the following command:

mogwai users create --username=testuser --password=My$ecretPassword123 --role="RESELLER"

Additional notes

  • Usernames must be unique and cannot contain spaces or dots.
  • Passwords must be at least 8 characters long. We recommend using at least one uppercase letter, one lowercase letter, one number, and one special character.