This topic describes how to delete a custom policy. If permissions in a custom policy change or you no longer need the custom policy, you can delete the custom policy.

Prerequisites

The policy is not attached to a RAM user, a RAM user group, or a RAM role. If the policy is attached to a RAM user, a RAM user group, or a RAM role, you must detach the policy before you can delete the policy. For more information, see Manage policy references.

Procedure

  1. Log on to the RAM console by using your Alibaba Cloud account.
  2. In the left-side navigation pane, choose Permissions > Policies.
  3. On the Policies page, find the policy that you want to delete and click Delete in the Actions column.
  4. In the Delete Custom Policy message, click OK.