API Overview
Message Callbacks
Status Codes
Overview
Deletes a device-binding record for a specified user.
After deletion, the device no longer appears in the bound-device list.
API Reference
- Method
POST - Path
/apigateway/binddevices/del
Request
Authentication: This API validates request headers. See Authentication.
Request Parameters
| Parameter | Data Type | Required | Description | |
|---|---|---|---|---|
| user_id | string | Yes | User ID. Maximum length: 32 characters. | |
| device_id | string | Yes | Device ID. Maximum length: 100 characters. | |
| platform | string | No | Platform identifier. Maximum length: 20 characters. | |
| device_company | string | No | Device manufacturer. Maximum length: 45 characters. | |
| device_model | string | No | Device model. Maximum length: 45 characters. |
Request Example
POST /apigateway/binddevices/del HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json
{
"user_id": "u_1001",
"device_id": "device_001"
}
Response Example
{
"code": 0
}