{% extends "docs/base.html" %} {% block docs_content %}
Create a user
pearing-cli create-user \
--username alice \
--name "Alice Doe" \
--email alice@example.com
Creates the resource and prints the created JSON object.
400 Bad Request for invalid flags/values.404 Not Found when referenced owners/resources are missing.409 Conflict for uniqueness or state conflicts.Common auth errors are documented on the CLI overview page.
Create a user.
Usage: pearing-cli create-user [OPTIONS] --username <USERNAME> --name <NAME> --email <EMAIL>
Options:
--username <USERNAME> Username
--name <NAME> User name
--email <EMAIL> User email
--staff Whether the user is staff
-h, --help Print help (see more with '--help')