Updated on 2025-11-07 GMT+08:00

Modifying or Deleting a Custom Identity Policy

You can modify or delete custom identity policies.

Modifying a Custom Identity Policy

To modify the name, description, or content of a custom identity policy, do as follows:

  1. In the navigation pane of the IAM console, click Identity Policies.
  2. Click the name of the target identity policy.
  3. On the Policy Content tab, click Edit to edit the details about the identity policy.

    Figure 1 Modifying a custom identity policy

  4. Modify a custom identity policy by referring to Creating a Custom Identity Policy in the Visual Editor or Creating a Custom Identity Policy in JSON View. Currently, the name and description of a custom identity policy cannot be modified.
  5. Click OK to save the modifications.

Deleting a Custom Identity Policy

Custom identity policies cannot be deleted if they have been attached to IAM identities. To delete these policies, detach them first.

  1. In the navigation pane of the IAM console, click Identity Policies.
  2. Select the custom identity policies to be deleted.
  3. Click Delete above the identity policy list.
    Figure 2 Deleting a custom identity policy
  4. Confirm the information, enter DELETE in the displayed dialog box, and click OK.