Get a user
GET
Returns one back-office user by numeric ID: username, role ID, PIN setting, name, email, status and timestamps. Passwords and PINs are never returned.
BearerAuthheader
AuthorizationBearer <JWT>id*integerID of the record.
Format
int64OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?The user's profile as it now stands. Passwords and PINs are never returned.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/management/users/0'Example Response
{ "status": "string", "message": "string", "data": { "userId": 0, "username": "string", "roleId": 0, "enablePin": true, "firstName": "string", "lastName": "string", "email": "string", "passwordUpdatedOn": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "status": "string" }}