CLI Reference > Server Administration Commands > im deleteuser
 
im deleteuser
deletes a user
Synopsis
im deleteuser [--[no]confirm] [--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] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] user...
Description
im deleteuser deletes a user for workflows and documents, if it is safe to do so. You can delete a user only if that user has not appeared in the history, that is, there are no issues assigned to the user and the user has not submitted or edited an issue, change package, trigger, or any other administrative object.
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]confirm
specifies whether to be prompted to confirm the deletion of the user. By default, you are prompted to confirm the deletion of the user.
user...
specifies the users you want to delete.
See Also
Commands: im createuser, im edituser, im viewuser, im users
Miscellaneous: options