Updated on 2026-01-13 GMT+08:00

Disabling a Governance Policy

Function

This API is used to disable a governance policy from an OU in an organization.

Authorization Information

Each account root user has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.

Action

Access Level

Resource Type (*: required)

Condition Key

Alias

Dependencies

rgc:control:disable

Write

-

-

-

-

URI

POST /v1/governance/controls/disable

Request Parameters

Table 1 Request body parameters

Parameter

Mandatory

Type

Description

identifier

Yes

String

ID of a governance policy.

target_identifier

Yes

String

ID of an OU.

Response Parameters

Status code: 201

Table 2 Response body parameters

Parameter

Type

Description

control_operate_request_id

String

Operation ID of a governance policy.

Status code: 403

Table 3 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

request_id

String

Unique ID of the request.

encoded_authorization_message

String

Encrypted error message.

details

Array of ForbiddenErrorDetail objects

Error message indicating no permissions for cross-service invoking.

Table 4 ForbiddenErrorDetail

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

Disabling a governance policy from an OU in an organization

POST https://{endpoint}/v1/governance/controls/disable

{
  "identifier" : "string",
  "target_identifier" : "string"
}

Example Responses

Status code: 201

Request succeeded.

{
  "control_operate_request_id" : "string"
}

Status Codes

Status Code

Description

201

Request succeeded.

403

No permissions.

Error Codes

See Error Codes.