User accounts
All endpoints that are created for managing user accounts.
Create a new user in the database & Api Key.
Request Body
Name
Type
Description
{
"userId": 1,
"apiKey": "c8e8db4743daa0d616c842bb164f5c154a1521ce9db6e5db165bf26e786c6c5c"
}{
"error": "Email field is required for creating new accounts."
}Get all users
[
{
"userId": 1,
"verified": 1,
"email": "[email protected]",
"roleType": "demo_client",
"licenseKey": "261caef326f21d109c90486719cfdea2",
"licenseIsActive": 1,
"licenseExpiryDate": "2022-11-23T13:03:35.789Z",
"createdAt": "2022-09-09T13:03:35.789Z",
"errorCount": 5,
"lastError": "2022-09-09T14:08:26.704Z"
},
{
"userId": 2,
"verified": 0,
"email": "[email protected]",
"roleType": "demo_client",
"licenseKey": "2e1d92e4233b32cc22def66d0abe497b",
"licenseIsActive": 1,
"licenseExpiryDate": "2022-10-05T10:41:35.877Z",
"createdAt": "2022-09-21T10:41:35.877Z",
"errorCount": 0,
"lastError": null
},
{
"userId": 3,
"verified": 0,
"email": "[email protected]",
"roleType": "demo_client",
"licenseKey": "e771197d1bd4a3c3f702d5799e562269",
"licenseIsActive": 1,
"licenseExpiryDate": "2022-10-05T14:48:23.395Z",
"createdAt": "2022-09-21T14:48:23.395Z",
"errorCount": 0,
"lastError": null
}
]Get an existing user.
Path Parameters
Name
Type
Description
Update an existing user.
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Delete an existing user.
Path Parameters
Name
Type
Description
Last updated