Spotfire® Server and Environment - Installation and Administration

delete-library-content

Deletes library content.

delete-library-content
[-b value | --bootstrap-config=value] 
[-t value | --tool-password=value] 
<-i value | --items=value> 
[-d | --database] 
[-e | --external]
<-u | --username=value>

Overview

Use this command to delete library items from the Spotfire database or from external storage.

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.
-i value
--items=value
Optional none A comma-separated list of items (data IDs) to delete.

If you are using external storage (S3), then this setting is required. In this case, to find the Data ID, use the command-line command check-external-library.

-d
--database
Optional none Deletes entries in the Spotfire library database.
-e
--external
Optional none Deletes entries in external storage.
-u
--username=value
Required. none The name of the user who wants a library item deleted. The username is given in the form username@domain.
Note: If the user is in the default domain (SPOTFIRE) it is sufficient with just username.
The user must have library administrator permission.