GuardDuty / Client / disassociate_from_administrator_account
disassociate_from_administrator_account#
- GuardDuty.Client.disassociate_from_administrator_account(**kwargs)#
Disassociates the current GuardDuty member account from its administrator account.
With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you’ll receive an error if you attempt to disable GuardDuty in a member account.See also: AWS API Documentation
Request Syntax
response = client.disassociate_from_administrator_account( DetectorId='string' )
- Parameters:
DetectorId (string) –
[REQUIRED]
The unique ID of the detector of the GuardDuty member account.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
GuardDuty.Client.exceptions.BadRequestException
GuardDuty.Client.exceptions.InternalServerErrorException