Lists the Security Hub administrator accounts. Can only be called by the organization management account.
get/organization/admin
Query parameters
MaxResultsinteger
The maximum number of items to return in the response.
NextTokenstring
The token that is required for pagination. On your first call to the <code>ListOrganizationAdminAccounts</code> operation, set the value of this parameter to <code>NULL</code>. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
Response
Success
Example response
{
"AdminAccounts": [
{
"AccountId": "777788889999"
},
{
"Status": "ENABLED"
}
]
}