Disables the Control Policy feature.
Operation description
After you disable the Control Policy feature, the system automatically detaches all control policies attached to folders and member accounts. The control policies are not deleted, but you can no longer attach them to any folder or member account.
Disabling the Control Policy feature affects the permissions of all folders and member accounts in a resource directory. Proceed with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcemanager:DisableControlPolicy |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EnablementStatus |
string |
The status of the Control Policy feature. Valid values:
|
PendingDisable |
| RequestId |
string |
The request ID. |
7C709979-451D-4C92-835D-7DDCCAA562E9 |
Examples
Success response
JSON format
{
"EnablementStatus": "PendingDisable",
"RequestId": "7C709979-451D-4C92-835D-7DDCCAA562E9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.