delete role

To delete a role, use the delete role command.

delete role name

Syntax Description

name

Role name.

Command Default

None

Command Modes

Local user (/security/local-user)

Security (/security)

Command History

Release Modification
1.0(1)

This command was introduced.

Examples

This example shows how to delete a role:

switch-A#scope security
switch-A /security # scope local-user appsUser                                          
switch-A /security/local-user # delete role appsUser 
switch-A /security/local-user* # commit-buffer
switch-A /security/local-user #                                          

Related Commands

Command

Description

show local-user

 

show role