This topic describes how to delete a RAM role when you no longer need it.

Prerequisites

Note Before you delete a RAM role, make sure that no policy is attached to the role.

Procedure

  1. Log on to the RAM console.
  2. In the left-side navigation pane, click RAM Roles.
  3. In the RAM Role Name column, select the target RAM role and click Delete.
  4. Click OK.