Querying Operations on Registered OUs and Enrolled Accounts
Function
This API is used to query operations on registered OUs and enrolled accounts in RGC.
URI
GET https://{endpoint}/v1/managed-organization
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
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. |
Parameter |
Type |
Description |
---|---|---|
percentage_name |
String |
Progress name. |
percentage_status |
String |
Progress of creating and enrolling accounts and registering OUs. |
Status code: 403
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. |
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot