DELETE api/v1/locations/{locationId}/doorbell/remove?deviceId={deviceId}&partitionId={partitionId}
This api is used to delete the user from partner and delete doorbell from TC
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationId |
TC2 Location ID with doorbell |
integer |
Required |
| deviceId |
device id |
integer |
Default value is 0 |
| partitionId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
BaseResults
BaseResults| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | integer |
None. |
|
| ResultData | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": 1,
"ResultData": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi"> <ResultCode>1</ResultCode> <ResultData>sample string 2</ResultData> </BaseResults>