Create Account

Create a new user account (admin only).

post /accounts
Accept: application/json
Content-Type: application/json
Authorization: Bearer {{(verb-var token)}}

{
    "username": "newuser10",
    "email": "newuser10@example.com",
    "password": "Secure-Password-123"
}
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 32
Server: ores-http-server-v1
Access-Control-Allow-Origin: *

{
  "error": "Invalid request body"
}

Emacs 29.3 (Org mode 9.6.15)