Create admin user
POST
Create the first admin user account for the system
application/json- body
email*stringMatch
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailusername*stringLength
3 <= length <= 255password*stringLength
8 <= lengthDefault Response
application/json- response
success*booleanmessage*stringcurl -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"}