Remove a device
Remove an approved device.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/removeDevice.adm HTTP/1.1
Host:{manager.dsnet} id={deviceId}&password={password}
Curl method
curl -u {admin}:{password} -k
“https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/removeDevice.adm” -d
“id={deviceId}&password={password}”
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
Corresponds to the manager assigned device ID (number). |
|
| password | String | Required |
The password of the account that is making the request. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.
- Devices cannot be removed if they are a part of a storage pool.
- The manager device cannot be removed.
- Devices cannot be removed if they are in a file server pool.