DELETE api/trustedorg/members/{id}?oId={oId}&obId={obId}&omId={omId}

remove org member by org id and org branch id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Logged in user id to remove org and it's member

integer

Required

oId

org id to remove user from org

integer

Required

obId

org branch id to remove user from org

integer

Required

omId

org member id to remove user from org member

integer

Required

Body Parameters

None.

Response Information

Resource Description

On success, returns org member mapping id On failure, return Lifetrons standard responses codes.

GenericResp
NameDescriptionTypeAdditional information
id

generic id to return

integer

None.

other_user_id

this is used when user remove member from group or other id

integer

None.

mapping_id

string mapping id to return to client

string

None.

string_id

any string id to return to client

string

None.

resp_code

Lifetrons response code

string

None.

resp_msg

Lifetrons response message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "other_user_id": 1,
  "mapping_id": "sample string 1",
  "string_id": "sample string 2",
  "resp_code": "sample string 3",
  "resp_msg": "sample string 4"
}

application/xml, text/xml

Sample:
<generic_resp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.ResponseAgg.v5">
  <resp_code xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 3</resp_code>
  <resp_msg xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 4</resp_msg>
  <id>1</id>
  <mapping_id>sample string 1</mapping_id>
  <other_user_id>1</other_user_id>
  <string_id>sample string 2</string_id>
</generic_resp>