Release Device | Legacy
Forcefully releases the device specified by <deviceId>. The device is either allocated to the user or the user is an administrator.
Users can only release devices accessible by their roles.
URL |
Copy
|
Method |
|
Request parameters
Name |
Type |
Default |
Description |
---|---|---|---|
securityToken* |
string |
|
A unique cryptographic key assigned to an authorized user. |
admin |
boolean |
false |
true to allow an administrator to release a device allocated to a user he administers. |
* Mandatory parameter
Request response
The status response is either success or an error condition.
An error is returned in the following cases:
- The device is not found.
- The device is not accessible to the user by his roles.
- The device is not connected.
- The device is not in use.
- The device is not allocated to the user (in user mode).
- The admin is not a user administrator for the user (in admin mode).