Updated on 2024-07-26 GMT+08:00

Modifying or Deleting a Custom Policy

You can modify or delete custom policies.

Modifying a Custom Policy

Modify the name, description, or content of a custom policy.
  1. In the left navigation pane on the IAM console, choose Permissions.
  2. Locate the custom policy you want to modify and click Modify in the Operation column, or click the custom policy name to go to the policy details page.
  3. Modify the name or description of the policy as required.
  4. Modify the policy content by following the instructions provided in Creating a Custom Policy in the Visual Editor as required.
  5. Click OK to save the modifications.

Deleting a Custom Policy

Only custom policies that are not attached to any user groups or agencies can be deleted. If a custom policy has been attached to certain user groups or agencies, detach the policy and then delete it.

  1. In the left navigation pane on the IAM console, choose Permissions.
  2. In the row containing the custom policy you want to delete, click Delete.
  3. Click Yes.