Endpoints for viewing user(s), creating a user, updating a user, enabling or disabling a user.
GET /api2/users
adminGET /api2/users/{id}
adminPOST /api2/users
admin
PUT /api2/users/{id}
admin
DELETE /api2/users/{id}
admin
]
{
"id": 1,
"name": "admin",
"username": "admin",
"email": "admin@profitap.com",
"sshKey": "",
"role": "admin",
"enabled": true,
"creation_time": 1542373932,
"modification_time": 1542373932,
"last_access": 0
},
{
"id": 3,
"name": "guest",
"username": "guest",
"email": "guest@profitap.com",
"sshKey": null,
"role": "viewer",
"enabled": true,
"creation_time": 1542373932,
"modification_time": 1542373932,
"last_access": 0
}
]