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.
Debugging
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:
|
RequestId | String | 7C709979-451D-4C92-835D-7DDCCAA562E9 |
The ID of the request. |
Examples
Sample requests
https://resourcemanager.aliyuncs.com/?Action=DisableControlPolicy
&<Common request parameters>
Sample success responses
XML
format
<DisableControlPolicyResponse>
<EnablementStatus>PendingDisable</EnablementStatus>
<RequestId>7C709979-451D-4C92-835D-7DDCCAA562E9</RequestId>
</DisableControlPolicyResponse>
JSON
format
{
"EnablementStatus": "PendingDisable",
"RequestId": "7C709979-451D-4C92-835D-7DDCCAA562E9"
}
Error codes
For a list of error codes, visit the API Error Center.