SecurityHub / Client / disable_organization_admin_account

disable_organization_admin_account#

SecurityHub.Client.disable_organization_admin_account(**kwargs)#

Disables a Security Hub administrator account. Can only be called by the organization management account.

See also: AWS API Documentation

Request Syntax

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

AdminAccountId (string) –

[REQUIRED]

The Amazon Web Services account identifier of the Security Hub administrator account.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SecurityHub.Client.exceptions.InternalException

  • SecurityHub.Client.exceptions.InvalidInputException

  • SecurityHub.Client.exceptions.InvalidAccessException

  • SecurityHub.Client.exceptions.LimitExceededException