List Discovered Accounts
Lists accounts that were discovered to match the organization's content rules.
Path Parameters
- organizationId int32 required
Id of an existing organization
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
discoveredAccounts object[]
accountName stringName of the account
accountId stringId of the account
accountArn stringARN of the account
accountEmail stringE-mail corresponding to the account
organizationPath stringPath to the account in the organization structure
accountStatus stringPossible values: [
ACTIVE,SUSPENDED,PENDING_CLOSURE]State of the account
{
"discoveredAccounts": [
{
"accountName": "string",
"accountId": "string",
"accountArn": "string",
"accountEmail": "string",
"organizationPath": "string",
"accountStatus": "ACTIVE"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorType AWSOrganizationErrorType
Possible values: [
UNKNOWN,INVALID_REQUEST,ACCESS_NODE_COMMUNICATION_FAILED,SERVICE_ENDPOINT_NOT_REACHABLE,CREDENTIAL_INVALID,NOT_ENOUGH_PERMISSIONS,ALL_ACCOUNTS_FAILED_DISCOVERY]Type of AWS Organization specific error that occured
- errorMessage string
{
"errorType": "UNKNOWN",
"errorMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Loading...