volume remove
Removes the specified volume or mirror. Permissions required:
d
or fc on the volume.
Syntax
- CLI
-
maprcli volume remove [ -cluster <cluster> ] [ -force true|false ] [ -filter <filter> ] -name <volume name>
- REST
Request Type POST Request URL http[s]://<host>:<port>/rest/volume/remove?<parameters>
Parameters
Parameter | Description |
---|---|
cluster |
The cluster on which to run the command. |
force |
Forces the removal of the volume, even if there are dependencies. |
name
|
The volume name. |
filter |
All volumes with names that match the filter are removed. |
Examples
- The following command removes the volume by the name, testVolume.
- CLI
-
maprcli volume remove -name testVolume
- REST
-
https://abcdcorp.sj.us:8443/rest/volume/remove?name=testVolume