CLI Reference > Workflows and Documents Commands > im removecontent
im removecontent
removes content from a document
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...
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.
specifies whether to be prompted to confirm the deletion of the content. By default, you are prompted to confirm the deletion.
This command takes the universal options available to all im commands, as well as some general options. See the options reference page for descriptions.
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