Skip to content

CloudTrail  >  Operations  >  deregister_organization_delegated_admin

deregister_organization_delegated_admin

Operation

deregister_organization_delegated_admin async

deregister_organization_delegated_admin(input: DeregisterOrganizationDelegatedAdminInput, plugins: list[Plugin] | None = None) -> DeregisterOrganizationDelegatedAdminOutput

Removes CloudTrail delegated administrator permissions from a member account in an organization.

Parameters:

Name Type Description Default
input DeregisterOrganizationDelegatedAdminInput

An instance of DeregisterOrganizationDelegatedAdminInput.

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
DeregisterOrganizationDelegatedAdminOutput

An instance of DeregisterOrganizationDelegatedAdminOutput.

Input

DeregisterOrganizationDelegatedAdminInput dataclass

Removes CloudTrail delegated administrator permissions from a specified member account in an organization that is currently designated as a delegated administrator.

Attributes

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

A delegated administrator account ID. This is a member account in an organization that is currently designated as a delegated administrator.

Output

DeregisterOrganizationDelegatedAdminOutput dataclass

Returns the following response if successful. Otherwise, returns an error.