{% extends "docs/base.html" %} {% block docs_content %}

create-user

Create a user

Auth

Staff

Example

pearing-cli create-user \
  --username alice \
  --name "Alice Doe" \
  --email alice@example.com

Expected Response

Creates the resource and prints the created JSON object.

Errors

Common auth errors are documented on the CLI overview page.

Help Output

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')
{% endblock %}