PUT api/Logout
This method facilitates the logout.
Request Information
URI Parameters
None.
Body Parameters
The auth object to be logged out.
Authorization| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| GroupId | integer |
None. |
|
| UserName | string |
None. |
|
| GroupName | string |
None. |
|
| UserEmail | string |
None. |
|
| Uid | string |
None. |
|
| Company | integer |
None. |
|
| CustomerId | integer |
None. |
|
| UserRole | integer |
None. |
|
| UserLanguage | string |
None. |
|
| MustChangePassword | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"GroupId": 1,
"UserName": "sample string 1",
"GroupName": "sample string 2",
"UserEmail": "sample string 3",
"Uid": "sample string 4",
"Company": 1,
"CustomerId": 1,
"UserRole": 1,
"UserLanguage": "sample string 5",
"MustChangePassword": true
}
application/xml, text/xml
Sample:
<Authorization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models"> <Company>1</Company> <CustomerId>1</CustomerId> <GroupId>1</GroupId> <GroupName>sample string 2</GroupName> <MustChangePassword>true</MustChangePassword> <Uid>sample string 4</Uid> <UserEmail>sample string 3</UserEmail> <UserId>1</UserId> <UserLanguage>sample string 5</UserLanguage> <UserName>sample string 1</UserName> <UserRole>1</UserRole> </Authorization>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The success as boolean true or false.
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>