POST api/Logout
Logs out an authenticated user.
Request Information
URI Parameters
None.
Body Parameters
LogoutRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1" }
application/xml, text/xml
Sample:
<LogoutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account"> <SessionKey>sample string 1</SessionKey> </LogoutRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LogoutResult object
ApiSuccessOfLogoutResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | LogoutResult |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": { "LoggedOut": true } }
application/xml, text/xml
Sample:
<ApiSuccessOfLogoutResultgLC8bFpX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account"> <d2p1:LoggedOut>true</d2p1:LoggedOut> </Data> </ApiSuccessOfLogoutResultgLC8bFpX>