Removing roles from the OpenStack Identity is a simple one step. In this example, we will show how to delete a role named oldrole
.
Ensure that you are logged on to a correctly configured OpenStack client and can access the OpenStack environment as a user with admin privileges.
Refer to Chapter 2, The OpenStack Client, for details of setting up your environment to use OpenStack command-line client.
In order to delete a role, execute the following commands:
openstack role list
oldrole
role:openstack role delete oldrole
This command will have no output.
18.116.89.123