v1
latestOpenAPI 3.0.42026-07-14475158859.0 KBAppUser
add a new user (if you are trying to add an admin user you yourself should be admin) (Auth policies: user:add)
post/api/users
Request body
Example request
{
"username": "test",
"email": "email@domain.com",
"phoneNumber": "+989121234567",
"firstName": "Hamid Reza",
"surName": "Mohammadi",
"password": "Test!123"
}Response
OK
Example response
{
"username": "test",
"email": "email@domain.com",
"phoneNumber": "+989121234567",
"firstName": "Hamid Reza",
"surName": "Mohammadi",
"password": "Test!123"
}