DELETE api/guardians/delete?id={id}&dId={dId}

Delete guardian from Guardians list if it is not shared with anyone else.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

object representing userid that need to delete guardiance.

integer

Required

dId

object representing guardianid that need to delete guardiance.

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>