Help Center> Organizations> User Guide> Managing SCPs> Modifying or Deleting an SCP
Updated on 2024-03-15 GMT+08:00

Modifying or Deleting an SCP

The following describes how to modify or delete a custom SCP.

Modifying an SCP

  1. Log in to Huawei Cloud as the organization administrator or using the management account, navigate to the Organizations console, and access the Policies page.
  2. Click Service control policies. The Service control policies page is displayed.
  3. Locate the SCP you want to modify and click Modify in the Operation column.
  4. Enter a new policy name and description, , as shown in Figure 1.

    Figure 1 Modifying an SCP

  5. Modify the policy content if needed. You can use the statement editor to modify the policy syntax. For details, see SCP Syntax.
  6. Click Save. If the policy list is displayed, the SCP is updated successfully. If a message appears indicating incorrect policy content, modify the SCP syntax.

Deleting an SCP

An SCP that is attached to OUs or accounts cannot be deleted. To delete such an SCP, you need to detach the SCP from the OUs or accounts first.

  1. Log in to Huawei Cloud as the organization administrator or using the management account, navigate to the Organizations console, and access the Policies page.
  2. Click Service control policies. The Service control policies page is displayed.
  3. Locate the SCP you want to delete and click Delete in the Operation column.
  4. Click OK in the displayed dialog box.

    Figure 2 Deleting an SCP