delete-storage
Deletes a storage space from the S-Filer Portal solution.
Syntax:
shell
sfiler-cli [options] delete-storage [command options]
Command options | Required / Optional | Description |
---|---|---|
-n | Required | The storage's name. |
-f | Optional | The force delete (skip warnings and optional validations). |
Example:
This command deletes a storage space with the name "my storage".
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" delete-storage -n "my storage"
NOTE
In the event that the storage space is used by a community, it will not be possible to delete the storage space without using the -f
parameter. If the -f
option is used, the community that was using this storage space will now use the default storage space. However, it is not possible to delete the default storage space. To delete the default vault, you must first define another vault as the default vault.