Lists details about all member accounts for the current Security Hub administrator account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
get/members
Query parameters
OnlyAssociatedboolean
<p>Specifies which member accounts to include in the response based on their relationship status with the administrator account. The default value is <code>TRUE</code>.</p> <p>If <code>OnlyAssociated</code> is set to <code>TRUE</code>, the response includes member accounts whose relationship status with the administrator account is set to <code>ENABLED</code>.</p> <p>If <code>OnlyAssociated</code> is set to <code>FALSE</code>, the response includes all existing member accounts. </p>
MaxResultsinteger
The maximum number of items to return in the response.
NextTokenstring
<p>The token that is required for pagination. On your first call to the <code>ListMembers</code> operation, set the value of this parameter to <code>NULL</code>.</p> <p>For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.</p>
Response
Success
Example response
{
"Members": [
{
"AccountId": "111122223333",
"AdministratorId": "123456789012",
"InvitedAt": "2020-06-01T20:15:15.289000+00:00",
"MasterId": "123456789012",
"MemberStatus": "ASSOCIATED",
"UpdatedAt": "2020-06-01T20:15:15.289000+00:00"
},
{
"AccountId": "444455556666",
"AdministratorId": "123456789012",
"InvitedAt": "2020-06-01T20:15:15.289000+00:00",
"MasterId": "123456789012",
"MemberStatus": "ASSOCIATED",
"UpdatedAt": "2020-06-01T20:15:15.289000+00:00"
}
]
}