User Management APIs
Get Logged In User (GET)
Returns information about the currently logged-in user.
Route
|
URI |
/api/users/loggedin |
|
Method |
GET |
|
Result |
JSON – UserModel |
Parameters
None
Example
GET http://localhost/api/users/loggedin
{
"users": [],
"message": "No users are currently logged in."
}
Logout Logged In User (POST)
Logs out the currently logged-in user.
Route
|
URI |
/api/users/logout |
|
Method |
POST |
|
Result |
JSON – LogoutResult |
Parameters
None
Example
POST http://localhost/api/users/logout