Disables the control policy feature.
Operation description
Disabling the control policy feature automatically detaches all control policies from folders and member accounts. These policies are not deleted, but you can no longer attach them to any target nodes.
Disabling the control policy feature affects permissions for all folders and member accounts in your Resource Directory. Use caution when you perform this operation.
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 |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| EnablementStatus |
string |
The status of the control policy feature. Valid values:
|
PendingDisable |
| RequestId |
string |
The request ID. |
7C709979-451D-4C92-835D-7DDCCAA562E9 |
| ControlPolicyType |
string |
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.