All Products
Search
Document Center

Resource Management:DisableControlPolicy

Last Updated:Jun 25, 2024

Disables the Control Policy feature.

Operation description

After you disable the Control Policy feature, the system automatically detaches all access control policies that are attached to folders and members. The system does not delete these access control policies, but you cannot attach them to folders or members again.

Note If you disable the Control Policy feature, the permissions of all folders and members in your resource directory are affected. Therefore, 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

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

EnablementStatusstring

The status of the Control Policy feature. Valid values:

  • Enabled: The feature is enabled.
  • PendingEnable: The feature is being enabled.
  • Disabled: The feature is disabled.
  • PendingDisable: The 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