Disconnect Sub-devices from EnOS™ Cloud¶
Upstream
- Request TOPIC: - /ext/session/{productKey}/{deviceKey}/combine/logout
- Reply TOPIC: - /ext/session/{productKey}/{deviceKey}/combine/logout_reply
Sample Request Format¶
{
  "id": 123,
  "params": {
    "productKey": "yourProductKey",
    "deviceKey": "yourDeviceKey"
  },
  "version":"1.0",
  "method":"combine.logout"
}
Sample Response Format¶
{
  "id": "123",
  "code": 200,
  "message": "",
  "data": {
  }
}
Request Parameter Description¶
| Parameter | Type | Mandatory/Optional | Description | 
|---|---|---|---|
| id | String | Optional | The message ID. It is a reserved parameter that is reserved for future use. | 
| params | List | Mandatory | The parameters used for disconnecting sub-devices from EnOS Cloud. | 
| deviceKey | String | Mandatory | The device key of the sub-device. | 
| productKey | String | Mandatory | The product key of a sub-device. | 
| method | String | Mandatory | The request method. | 
Response Parameter Description¶
| Parameter | Type | Mandatory/Optional | Description | 
|---|---|---|---|
| code | Integer | Mandatory | The return code. “200” indicates the request operation is executed successfully. | 
| message | String | Optional | The response message. | 
| data | JSON | Optional | The detailed returned information in JSON format. |