UsersEndpoint

UsersEndpoint

Methods

(static) createAdmin()

Create an admin.

Note: requires the user to be logged in.

Request

  • path: /api/users
  • verb: POST
{
  "email": string
}

Response

Status 201 - Success

{
  "uid": string
}

Status 400 or 401 - Failure

{
  "message": string
}
Source: