This topic describes how to delete a Resource Access Management (RAM) role that you no longer need.
Procedure
Log on to the RAM console as a RAM user who has administrative rights.
In the left-side navigation pane, choose .
On the Roles page, find the RAM user that you want to delete and click Delete Role in the Actions column.
In the Delete Role dialog box, enter the name of the RAM role and click Delete Role.
If a policy is attached to the RAM role, the policy is detached when you delete the RAM role.
For a RAM role that fails to be deleted, you can click Role Deletion in the upper-right corner of the RAM role list to view the details.