POST api/User/Logout
Logs out a user from the system.
Request Information
URI Parameters
None.
Body Parameters
The logout request containing necessary information for logging out the user.
LogoutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | Token |
None. |
Request Formats
application/json, text/json
Sample:
{
"Token": {
"OrgId": 1,
"OrgGuid": "sample string 2",
"UserId": 3,
"UserGuid": "sample string 4",
"Username": "sample string 5",
"UserNumber": "sample string 6",
"EMail": "sample string 7",
"CreatedAt": "2026-09-15T11:35:32.8734155+02:00",
"ValidTo": "2026-09-15T11:35:32.8734155+02:00",
"Realm": "sample string 10",
"IsDelegated": true,
"AccessKey": "sample string 12"
}
}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
An indicating the result of the logout operation. Returns a success response if the logout is successful, or a bad request response if there are issues with the access key or if no active session is found.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.