All Products
Search
Document Center

Resource Management:DisableControlPolicy

Last Updated:Jun 05, 2024

Disables the Control Policy feature.

Operation description

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.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

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

Response parameters

ParameterTypeDescriptionExample
object
EnablementStatusstring

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.
PendingDisable
RequestIdstring

The ID of the request.

7C709979-451D-4C92-835D-7DDCCAA562E9

Examples

Sample success responses

JSONformat

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

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history