POST /create
This API is used to create a new user.
<table> <tr> <th>Field</th> <th>Possible values</th> <th>Mandatory/Optional</th> </tr> <tr> <td>username</td> <td>user1</td> <td>Mandatory</td> </tr> <tr> <td>password</td> <td>pass123</td> <td>Mandatory</td> </tr> <tr> <td>role</td> <td>admin</td> <td>Mandatory</td> </tr> <tr> <td>email</td> <td>user1@gmail.com</td> <td>Optional</td> </tr> <tr> <td>name</td> <td>admin</td> <td>Optional</td> </tr> </table>Request
- Base URLhttps://localhost:3000
- Authnone declared
Request body
object required
Example request
{
"username": "test1",
"password": "test1",
"role": "admin",
"email": "test1@litmus.com",
"name": "Test Account"
}Response
OK
object required
Changes
No recorded changes to this operation across all 4 revisions of this API.