Listing Enrolled Core Accounts
Function
This API is used to list all enrolled core accounts in an organization.
URI
GET https://{endpoint}/v1/managed-organization/managed-core-accounts
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
account_type |
Yes |
String |
Type of an enrolled account. It can be LOGGING, SECURITY, or PRIMARY. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
account_id |
String |
ID of an enrolled account. |
account_name |
String |
Name of an enrolled account. |
core_resource_mappings |
Map<String,String> |
Mappings of core resources to fields. |
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
Listing all enrolled core accounts in an organization
GET https://{endpoint}/v1/managed-organization/managed-core-account
Example Responses
Status code: 200
Request succeeded.
{ "account_id" : "string", "account_name" : "string", "core_resource_mappings" : { "stack_set_urn" : "string", "cross_account_admin_agency" : "string", "cross_account_read_only_agency" : "string", "notify_email" : "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