DisableControlPolicy
Disables the control policy feature.
Operation description
After you disable the control policy feature, all control policies attached to folders and member accounts are automatically detached. The control policies themselves are not deleted, but they can no longer be attached to any target nodes.
Disabling control policies affects the permissions of folders and member accounts in the entire resource directory. Proceed with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcemanager:DisableControlPolicy |
update |
*ResourceDirectory
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ControlPolicyType |
string |
No |
The type of the control policy. Valid values:
Default value: |
RESOURCE_CONTROL_POLICY |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| EnablementStatus |
string |
The status of the control policy. Valid values:
|
PendingDisable |
| RequestId |
string |
The request ID. |
7C709979-451D-4C92-835D-7DDCCAA562E9 |
| ControlPolicyType |
string |
The type of the control policy. Valid values:
|
RESOURCE_CONTROL_POLICY |
Examples
Success response
JSON format
{
"EnablementStatus": "PendingDisable",
"RequestId": "7C709979-451D-4C92-835D-7DDCCAA562E9",
"ControlPolicyType": "RESOURCE_CONTROL_POLICY"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.