Skip to content

Guardduty  >  Operations  >  disassociate_from_administrator_account

disassociate_from_administrator_account

Operation

disassociate_from_administrator_account async

disassociate_from_administrator_account(input: DisassociateFromAdministratorAccountInput, plugins: list[Plugin] | None = None) -> DisassociateFromAdministratorAccountOutput

Disassociates the current GuardDuty member account from its administrator account.

When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.

With autoEnableOrganizationMembers configuration for your organization set to ALL, you'll receive an error if you attempt to disable GuardDuty in a member account.

Parameters:

Name Type Description Default
input DisassociateFromAdministratorAccountInput

An instance of DisassociateFromAdministratorAccountInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DisassociateFromAdministratorAccountOutput

An instance of DisassociateFromAdministratorAccountOutput.

Input

DisassociateFromAdministratorAccountInput dataclass

Dataclass for DisassociateFromAdministratorAccountInput structure.

Attributes

detector_id class-attribute instance-attribute
detector_id: str | None = None

The unique ID of the detector of the GuardDuty member account.

Output

DisassociateFromAdministratorAccountOutput dataclass

Dataclass for DisassociateFromAdministratorAccountOutput structure.