DELETE api/devices/delete?id={id}&did={did}

Delete specific device from devices list.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

object representing userid that need to delete device.

integer

Required

did

object representing deviceid that need to delete device.

string

Required

Body Parameters

None.

Response Information

Resource Description

On success, return Lifetrons response. On failure, return Lifetrons response.

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>