Pulsarr

Create admin user

POST
/v1/users/create-admin

Create the first admin user account for the system

Request Body

application/json
  1. body
email*string
Match^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail
username*string
Length3 <= length <= 255
password*string
Length8 <= length

Response Body

Default Response

application/json
  1. response
success*boolean
message*string
Example Request
curl -X POST 'http://localhost:3003/v1/users/create-admin' \  -H 'Content-Type: application/json' \  -d '{  "email": "user@example.com",  "username": "string",  "password": "stringst"}'
Example Response
{  "success": true,  "message": "string"}