Deleting a Gateway Subdevice
Topic
|
Topic |
/v1/devices/{gatewayId}/topo/delete |
|---|---|
|
Publisher |
IoT platform |
|
Subscriber |
Edge device |
Parameter Description
|
Field |
Mandatory/Optional |
Type |
Description |
|---|---|---|---|
|
id |
Mandatory |
Integer |
ID of the command for deleting a subdevice. |
|
deviceId |
Mandatory |
String |
Unique device ID generated by the IoT platform, which corresponds to the device client ID. |
|
requestTime |
Mandatory |
Timestamp |
Request timestamp. |
|
request |
Mandatory |
JsonObject |
Subdevice information. |
JsonObject struct description
|
Field |
Mandatory/Optional |
Type |
Description |
|---|---|---|---|
|
manufacturerName |
Mandatory |
String |
Manufacturer name. The value must contain 2 to 64 characters. |
|
manufacturerId |
Mandatory |
String |
Manufacturer ID. The value must contain 2 to 50 characters and can consist of only uppercase and lowercase letters, digits, hyphens (-), and underscores (_). |
|
model |
Mandatory |
String |
Product model. The value must contain 2 to 50 characters and can consist of only uppercase and lowercase letters, digits, hyphens (-), and underscores (_). |
Example
{
"requestTime": 1576639584536,
"request": {
"manufacturerName": "ATest_n",
"manufacturerId": "Test_n",
"model": "A_n"
},
"id": 8,
"deviceId": "n-device"
}
Last Article: Response for Updating the Gateway Subdevice Status
Next Article: Querying Gateway Information
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.