Last Updated on : 2024-09-10 01:49:21
Based on the home ID, room ID, and device IDs, delete devices from the specified room in a home.
DELETE: /v1.0/homes/{home_id}/rooms/{room_id}/devices
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
home_id | Long | uri | true | The home ID. |
room_id | Long | uri | true | The room ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_ids | List | true | The list of device IDs. |
Description of device_ids
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_ids | String | false | The IDs of the devices to be deleted. Multiple IDs are separated by commas (,). |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. Valid values:
|
DELETE: /v1.0/homes/31****/rooms/234****/devices
{
"device_ids": [
"did12345***",
"did12345***"
]
}
{
"tid": "ea0605487d3e31ee82c7664ef4d3e193",
"result": true,
"t": 1699341969429,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback