CLI Reference > Workflows and Documents Commands > im removecontent
 
im removecontent
removes content from a document
Synopsis
im removecontent [--[no]recurse] [--[no]confirm] [--quiet] [--user=name] [--hostname=server] [--password=password] [--port=number] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [-g|--gui] [--settingsUI=[gui|default]] [--status=[none|gui|default]] issue id...
Description
im removecontent removes the selected content from their parent segments. If the content being removed is is shared with other segments, then the content is removed from its current parent only. For example:
im removecontent 15, 242 590
removes content IDs 15, 242 and 590 from their respective parents.
* 
You cannot remove shared content since other documents depend on it.
--[no]confirm
specifies whether to be prompted to confirm the deletion of the content. By default, you are prompted to confirm the deletion.
Options
This command takes the universal options available to all im commands, as well as some general options. See the options reference page for descriptions.
--[no]recurse=value
indicates whether to remove all child content if the content being removed is a parent.
issue id...
specifies the issue ID of the content being removed. Use a space separated list to specify more than one issue ID, for example, 240 241 242.
See Also
Commands: im createcontent, im copycontent, im movecontent
Miscellaneous: ACL, diagnostics, options, preferences