Help Center> Organizations> User Guide> Managing SCPs> Modifying and Deleting an SCP
Updated on 2024-05-28 GMT+08:00

Modifying and Deleting an SCP

The following describes how to modify and 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 Organization page.
  2. On the Policies page, click Service control policies.
  3. Locate the target custom SCP 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. Edit 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 Organization page.
  2. On the Policies page, click Service control policies.
  3. Locate the target custom SCP and click Delete in the Operation column.
  4. Click OK in the displayed dialog box.

    Figure 2 Deleting an SCP