GET api/Login/Logout?username={username}&token={token}

logout the user with the provided token

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

token

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

LogoutResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorCode

ErrorCode

None.

ErrorNumber

integer

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorNumber": 1,
  "ErrorDescription": "sample string 2"
}

application/xml, text/xml

Sample:
<LogoutResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hevo.App.WebAPI.Models">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Hevo.Core.Datalayer.Models">Global_Exception</ErrorCode>
  <ErrorDescription xmlns="http://schemas.datacontract.org/2004/07/Hevo.Core.Datalayer.Models">sample string 2</ErrorDescription>
  <ErrorNumber xmlns="http://schemas.datacontract.org/2004/07/Hevo.Core.Datalayer.Models">1</ErrorNumber>
  <Success>true</Success>
</LogoutResponse>