ftpub remove [ft_portal_URL] [flags]
Aliases:
remove
unpublish
rm
delete
Flags:
-
-a
,--api-key
API key (environment variable:
FTPUB_API_KEY
). -
-u
,--user
Username (environment variable:
FTPUB_USER
). -
-p
,--password
Password (environment variable:
FTPUB_PASSWD
). ---do-it
Displays a message to confirm the removal of the targeted documents (environment variable:
FTPUB_DO_IT
). -
-h
,--help
Shows the help tool.
-
--select
Deletes selected documents based on their metadata. This flag can be repeated.
Example:
ftpub --select product=FluidTopics --select version=3.1 https://my-ft-portal
Removes all documents with the metadata
product=FluidTopics
andversion=3.1
.
Global flags:
-
-v
,--verbosity
Can be either
CRITICAL
,ERROR
,WARNING
,INFO
orDEBUG
(by default:INFO
).