PUT api/account/logOff/{id}?dId={dId}&allD={allD}

logoff user from Lifetrons. Unregister device for push notifications etc.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

object representing user id that need to log out user.

integer

Required

dId

object representing device id/imei that need update logged out user device

string

Required

allD

logout from all device or not

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

On success, return Lifetrons code On failure, return null

Response
NameDescriptionTypeAdditional information
resp_code

Lifetrons response code

string

None.

resp_msg

Lifetrons response message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "resp_code": "sample string 1",
  "resp_msg": "sample string 2"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">
  <resp_code>sample string 1</resp_code>
  <resp_msg>sample string 2</resp_msg>
</Response>