Help Center/ Resource Governance Center/ API Reference/ APIs/ Managing Organizations/ Querying Operations on Registered OUs and Enrolled Accounts
Updated on 2026-01-13 GMT+08:00

Querying Operations on Registered OUs and Enrolled Accounts

Function

This API is used to query operations on registered OUs and enrolled accounts in RGC.

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:operation:list

List

-

-

-

-

URI

GET /v1/managed-organization

Table 1 Query Parameters

Parameter

Mandatory

Type

Description

account_id

No

String

ID of an enrolled account.

organizational_unit_id

No

String

ID of a registered OU.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

operation_id

String

Operation ID.

percentage_complete

Integer

Percentage of completion.

status

String

Status

percentage_details

Array of OrganizationalPercentageDetail objects

Details about the progress of creating an account, registering an OU, or enrolling an account.

message

String

Error message displayed when creating an account, registering an OU, or enrolling an account.

Table 3 OrganizationalPercentageDetail

Parameter

Type

Description

percentage_name

String

Progress name.

percentage_status

String

Progress of creating and enrolling accounts and registering OUs.

Status code: 403

Table 4 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 5 ForbiddenErrorDetail

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

Querying operations on registered OUs and enrolled accounts in RGC

GET https://{endpoint}/v1/managed-organization?account_id=xxx

Example Responses

Status code: 200

Request succeeded.

{
  "operation_id" : "string",
  "percentage_complete" : 0,
  "status" : "string",
  "percentage_details" : [ {
    "percentage_name" : "string",
    "percentage_status" : "string"
  } ],
  "message" : "string"
}

Status Codes

Status Code

Description

200

Request succeeded.

403

No permissions.

Error Codes

See Error Codes.