Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to create a new user, submit a POST request to /api/users.

Request

Key

Description

email

The new user's email address (will be used as login username).

password

The new user's password (must be at least 6 characters long).

If the request entity was is invalid (missing field(s), password < 6 characters etc.) or a user with that email address already exists, the API will respond responds with 400 Bad Request.