Clean drive
Requests a manual cleaning of the tape drive. Typically, cleaning of a tape drive is done automatically by the library. This should be used only for diagnostic purpose.
Request syntax
POST
/v1/drives/<location>/clean
Initiates a cleaning operation for the
drive in the specified location.
POST
/v1/drives/<sn>/clean
Initiates a cleaning operation for the drive
with the specified serial number.
Path parameters
location
(string)-
The unique location of the drive.
sn
(string)-
The globally unique serial number of the drive.
Example
> POST /v1/drives/drive_F3C2R1/clean
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 0
Error handling
- Returns
422 Unprocessable Entry
if drive is notonline
.