ServerMania logo

Build Disk

To build a disk, use the following request:

POST /settings/disks/:id/build.xml
POST /settings/disks/:id/build.json

XML Request Example

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

JSON Request Example

curl -i -X POSThttp://test/settings/disks/1/build.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'

Where:

disk_id* - the ID of the disk you want to build