Delete Device

Last Updated on : 2024-01-11 05:56:15download

Delete the specified device based on the device ID.

API address

DELETE: /v1.0/devices/{deviceId}

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe device ID.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result. Valid values:
  • true: success
  • false: failure

Request example

DELETE: /v1.0/devices/65057368c44f3380****

Return example

{
    "tid": "b777dd997d3d11eeaf40161d72836dc2",
    "result": true,
    "t": 1699341452301,
    "success": true
}

Error code

For more information, see error code.