ServerMania logo

Unlock Disk

To unlock a disk, use the following request:

POST /settings/disks/:disk_id/unlock.xml
POST /settings/disks/:disk_id/unlock.json

XML Request Example

curl -i -X POST http://test/settings/disks/12/unlock.xml -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request Example

curl -i -X POST http://test/settings/disks/12/unlock.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'