POST api/v3/authentication/logout

The Logout method is provided to forcefully terminate an active session in the system. Clients should make an effort to encourage the users to use the Logout feature if at all possible. Request that the given sessionID be logged out and/or terminated.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

BaseResult structure: ResultCode: 0 for success, non-zero for error ResultData: Additional textual response (as necessary)

BaseResults
NameDescriptionTypeAdditional information
ResultCode

integer

None.

ResultData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "ResultData": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">
  <ResultCode>1</ResultCode>
  <ResultData>sample string 2</ResultData>
</BaseResults>