SoftNAS API Guide
Menu
Index

3.30. deletevolume

 
Description
 
This method is used to delete a volume.
POST deletevolume
 
Request
 
In addition the the Standard Request Structure, the following parameters are required.
 
For definitions of parameters, see section Properties
Parameter
Parameter Name
Required?
volume name
vol_name
Y
pool name
pool
Y
 
Response
 
 
Example
{
    "result": {
        "msg": "Volume 'volume6' deleted.",
        "records": [],
        "success": true,
        "total": 0
    },
    "session_id": 11255,
    "success": true
}
 
 
 
Made with help of Dr.Explain