HP MSA 2040 CLI Reference Guide

delete user 87
delete user
delete vdisk (Deprecated)
Use delete vdisks.
Description Deletes a user account. You can delete any user, including the default users. However, the system
requires at least one CLI user with the manage role to exist. When a user is deleted, any sessions
associated with that user name are terminated.
Syntax
delete user
[noprompt]
name
Parameters noprompt
Optional in console format; required for XML API format. Suppresses the confirmation prompt, which
requires a yes or no response. Specifying this parameter allows the command to proceed without
user interaction.
name
The user to delete. Names are case sensitive.
Example Delete user jsmith:
# delete user jsmith
Are you sure you want to delete user jsmith? (y/n) yes
Success: Command completed successfully. (2011-10-10 15:55:16)
Delete user Kim and suppress the confirmation prompt:
# delete user noprompt Kim
Success: Command completed successfully. (2012-01-21 15:55:26)
Try to delete the only CLI user with the manage role:
# delete user SysAdmin
Error: At least one CLI user must retain configuration privileges at all times.
(2013-10-31 14:10:47)
See also create user
show users