deregister_organization_delegated_admin

deregister_organization_delegated_admin(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.deregister_organization_delegated_admin(
    DelegatedAdminAccountId='string'
)
Parameters
DelegatedAdminAccountId (string) --

[REQUIRED]

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

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

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

Exceptions

  • CloudTrail.Client.exceptions.AccountNotFoundException
  • CloudTrail.Client.exceptions.AccountNotRegisteredException
  • CloudTrail.Client.exceptions.CloudTrailAccessNotEnabledException
  • CloudTrail.Client.exceptions.ConflictException
  • CloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionException
  • CloudTrail.Client.exceptions.InvalidParameterException
  • CloudTrail.Client.exceptions.NotOrganizationManagementAccountException
  • CloudTrail.Client.exceptions.OrganizationNotInAllFeaturesModeException
  • CloudTrail.Client.exceptions.OrganizationsNotInUseException
  • CloudTrail.Client.exceptions.UnsupportedOperationException
  • CloudTrail.Client.exceptions.OperationNotPermittedException