SecurityHub / Client / disassociate_members
disassociate_members#
- SecurityHub.Client.disassociate_members(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_members( AccountIds=[ 'string', ] )
- Parameters:
AccountIds (list) –
[REQUIRED]
The account IDs of the member accounts to disassociate from the administrator account.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
SecurityHub.Client.exceptions.InternalException
SecurityHub.Client.exceptions.InvalidInputException
SecurityHub.Client.exceptions.InvalidAccessException
SecurityHub.Client.exceptions.LimitExceededException
SecurityHub.Client.exceptions.ResourceNotFoundException