Skip to content

Guardduty  >  Operations  >  disable_organization_admin_account

disable_organization_admin_account

Operation

disable_organization_admin_account async

disable_organization_admin_account(input: DisableOrganizationAdminAccountInput, plugins: list[Plugin] | None = None) -> DisableOrganizationAdminAccountOutput

Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management account can run this API operation.

Parameters:

Name Type Description Default
input DisableOrganizationAdminAccountInput

An instance of DisableOrganizationAdminAccountInput.

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
DisableOrganizationAdminAccountOutput

An instance of DisableOrganizationAdminAccountOutput.

Input

DisableOrganizationAdminAccountInput dataclass

Dataclass for DisableOrganizationAdminAccountInput structure.

Attributes

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

The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated administrator.

Output

DisableOrganizationAdminAccountOutput dataclass

Dataclass for DisableOrganizationAdminAccountOutput structure.