GuardDuty / Client / disable_organization_admin_account

disable_organization_admin_account#

GuardDuty.Client.disable_organization_admin_account(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.disable_organization_admin_account(
    AdminAccountId='string'
)
Parameters:

AdminAccountId (string) –

[REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException