Updated on 2026-07-24 GMT+08:00

Modifying or Deleting a Custom Identity Policy

To maintain a secure account environment, you must periodically review your custom identity policies to modify any that pose security risks and promptly delete those that are no longer needed. This section describes how to modify and delete existing custom identity policies.

Modifying a Custom Identity Policy

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

  1. Log in to the new IAM console as an administrator, and choose Identity Policies in the navigation pane.
  2. Click the name of the target identity policy.
  3. In 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 of a custom identity policy cannot be modified.
  5. Click OK to save the modifications.

    Check the content of the identity policy to verify that the modifications are applied.

Deleting a Custom Identity Policy

Notes and Constraints

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

  1. Log in to the new IAM console as an administrator, and choose Identity Policies in the navigation pane.
  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.

    Search for the identity policy in the search box of the identity policy list to verify the deletion.