disassociateMembers

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


fun main() { 
   //sampleStart 
   // The following example dissociates the specified member accounts from the associated administrator
// account.
securityHubClient.disassociateMembers {
    accountIds = listOf<String>(
        "123456789012",
        "111122223333"
    )
} 
   //sampleEnd
}