Spotfire® Server and Environment - Installation and Administration

delete-library-items

Deletes library items that are specified by path and item type.

delete-library-items
[-b value | --bootstrap-config=value] 
[-t value | --tool-password=value] 
{-Lvalue} 
{-Tvalue} 
<-u value | --username=value>
[-r <true|false> | --recursive=<true|false>]

Overview

Use this command to delete library items. Non-existing items are ignored. Non-empty folders, or items with dependent items, are deleted only if the --recursive flag is specified.

Options

Option Optional or Required Default Value Description
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file.
-t value
--tool-password=value
Optional none The configuration tool password used to decrypt the database password in the file bootstrap.xml. If the tool password is omitted, the command prompts the user for it in the console. Refer to Bootstrap.xml file.
-Lvalue
Required. Can be specified multiple times with different values. none The path to an item to delete. Must be specified together with a -T flag, which specifies the type of the item.
-Tvalue
Required. Can be specified multiple times with different values. none The type of item to delete. Must be specified together with an -L flag, which specifies the path of the item. Valid types for deleting include spotfire.dxp, spotfire.sbdf, spotfire.folder, spotfire.connectiondatasource, spotfire.query, spotfire.asjob, spotfire.procedure, spotfire.analyticmodel, spotfire.dxpscript, spotfire.filter, spotfire.datafunction, spotfire.datasource, spotfire.colorscheme, spotfire.dataconection, and spotfire.mod. See also Spotfire item types.
-u value
--username=value
Required none The name of the user who is deleting the library items. The user must have library administrator permission. The username is given on the form username@domain.
Note: If the user is in the default domain (SPOTFIRE), then just username is sufficient.
-r <true|false>
--recursive=<true|false>
Optional false Used to delete a library item. Specifies if non-empty folders with dependent items should be deleted.