All Products
Search
Document Center

Resource Management:DeleteControlPolicy

Last Updated:Jun 25, 2024

Deletes a custom access control policy.

Operation description

If you want to delete a custom access control policy that is attached to folders or members, you must call the DetachControlPolicy operation to detach the policy before you delete it.

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
PolicyIdstringYes

The ID of the access control policy.

cp-SImPt8GCEwiq****

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The ID of the request.

C8541E06-B207-46BF-92C9-DC8DE4609D75

Examples

Sample success responses

JSONformat

{
  "RequestId": "C8541E06-B207-46BF-92C9-DC8DE4609D75"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history