Disables the Control Policy feature.

After you disable the Control Policy feature, the system automatically detaches all control policies that are attached to folders and member accounts. The system does not delete these control policies, but you cannot attach them to folders or member accounts again.

Note If you disable the Control Policy feature, the permissions of all folders and member accounts in a resource directory are affected. You must proceed with caution.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DisableControlPolicy

The operation that you want to perform. Set the value to DisableControlPolicy.

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
EnablementStatus String PendingDisable

The status of the Control Policy feature. Valid values:

  • Enabled: The Control Policy feature is enabled.
  • PendingEnable: The Control Policy feature is being enabled.
  • Disabled: The Control Policy feature is disabled.
  • PendingDisable: The Control Policy feature is being disabled.
RequestId String 7C709979-451D-4C92-835D-7DDCCAA562E9

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "EnablementStatus": "PendingDisable",
  "RequestId": "7C709979-451D-4C92-835D-7DDCCAA562E9"

Error codes

For a list of error codes, visit the API Error Center.