Before you delete a role, you need to remove all assignments to logins. See “Removing a role assignment from a login”.
You cannot delete a system role.
Deleting a user-defined role
Select the role icon.
Select Edit | Delete.
Confirm the deletion in the confirmation dialog box.