Removes the specified volume or mirror. Permissions required: d or fc on the volume



Syntax

CLI

maprcli volume remove
    [ -cluster <cluster> ]
    [ -force ]
    -name <volume name>
    [ -filter <filter> ]

REST

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 it would otherwise be prevented.

name

The volume name.

filter

All volumes with names that match the filter are removed.

Examples

CLImaprcli volume remove -name testVolume
RESThttps://10.10.82.23:8443/rest/volume/remove?name=testVolume