View source: R/labkey.security.R
labkey.security.deleteContainer | R Documentation |
Deletes an existing container, which may be a project, folder, or workbook, and all of its children from the Labeky server.
labkey.security.deleteContainer(baseUrl=NULL, folderPath)
baseUrl |
A string specifying the |
folderPath |
A string specifying the |
This function allows for users with proper permissions to delete an existing container, which may be a project, folder, or workbook, from the LabKey server. This will also remove all subfolders of the container being deleted. If the container does not exist or the user does not have permissions, an error message will be returned.
Returns a success message for the container deletion action.
Cory Nathe
labkey.getFolders
,
labkey.security.getContainers
,
labkey.security.createContainer
,
labkey.security.moveContainer
labkey.security.renameContainer
## Not run:
library(Rlabkey)
labkey.security.deleteContainer(baseUrl="http://labkey/", folderPath = "/home/FolderToDelete")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.