Skip to main content

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​

ParameterData TypeRequiredDescription
user_idstringYesUser ID. Maximum length: 32 characters.
device_idstringYesDevice ID. Maximum length: 100 characters.
platformstringNoPlatform identifier. Maximum length: 20 characters.
device_companystringNoDevice manufacturer. Maximum length: 45 characters.
device_modelstringNoDevice 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
}