add a new user (if you are trying to add an admin user you yourself should be admin) (Auth policies: user:add)
Changed onRequest
- Base URLhttps://api.ganjoor.net (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
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"
}Changes
- info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: text/json) - info
added the new optional request property
(media type: application/*+json) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: text/json) - info
added the new optional request property
(media type: application/*+json) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: text/json) - info
added the new optional request property
(media type: application/*+json) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: text/json) - info
added the new optional request property
(media type: application/*+json) - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info