Files.deleteUserVolume {SciServer} | R Documentation |
Delete a user volume.
Jobs.deleteUserVolume(fileService, path, quiet=TRUE)
fileService |
name of fileService (string), or object (list) that defines a file service. A list of these kind of objects available to the user is returned by the function Files.getFileServices(). |
path |
path (in the remote file service) to the user volume (string), starting from the root volume level. Example: rootVolume/userVolumeOwner/userVolume |
quiet |
if set to FALSE, will throw an error if the User Volume already exists. If TRUE, won't throw an error. |
void
Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>
http://www.sciserver.org
http://apps.sciserver.org
http://apps.sciserver.org/dashboard/files
http://www.github.com/sciserver/SciScript-R
Files.getFileServices
, Files.getFileServiceFromName
,
Files.delete
, Files.upload
,
Files.download
, Files.dirList
, Files.createUserVolume
fileServices = Files.getFileServices(); Files.deleteUserVolume(fileServices[[1]], "rootVolume/userVolumeOwner/userVolume");