DeleteControlPolicy

更新时间:
复制 MD 格式

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.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PolicyId

string

Yes

The ID of the access control policy.

cp-SImPt8GCEwiq****

Response elements

Element

Type

Description

Example

object

The returned result.

RequestId

string

The ID of the request.

C8541E06-B207-46BF-92C9-DC8DE4609D75

Examples

Success response

JSON format

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

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.