disassociateMembers
abstract suspend fun disassociateMembers(input: DisassociateMembersRequest): DisassociateMembersResponse
Disassociates the specified member accounts from the associated administrator account.
Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.
Samples
// The following example dissociates the specified member accounts from the associated administrator
// account.
securityHubClient.disassociateMembers {
accountIds = listOf<String>(
"123456789012",
"111122223333"
)
}Content copied to clipboard