Remove Device from Account
Removes a device from the current account. After removal, the account can no longer access or control the device through this API. The device itself is not deleted.
Endpoint
http
DELETE /wlte/v1/devices/{deviceId}Authorization Requirements
| Scope | Required | Description |
|---|---|---|
device:manage | Yes | Remove a device from the current account |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
deviceId | string | Yes | Device ID to remove |
Success Response
json
{
"code": "SUCCESS",
"message": "OK.",
"requestId": "7d2e2e30-36d7-4e31-9e89-c840f54185f8",
"data": {
"deviceId": "rek053537488"
}
}Common Errors
| HTTP Status | code | Description |
|---|---|---|
400 | INVALID_REQUEST | Empty or invalid deviceId |
401 | AUTH_INVALID | Access token is invalid or no longer valid |
403 | AUTH_SCOPE_DENIED | The API Client does not have device:manage |
404 | DEVICE_NOT_FOUND | The device does not exist, or the current account cannot access it |
