Skip to content

Disable Organization Admin Account

securityhub_disable_organization_admin_account R Documentation

Disables a Security Hub administrator account

Description

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

Usage

securityhub_disable_organization_admin_account(AdminAccountId)

Arguments

AdminAccountId

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

Value

An empty list.

Request syntax

svc$disable_organization_admin_account(
  AdminAccountId = "string"
)

Examples

## Not run: 
# The following example removes the Security Hub administrator account in
# the Region from which the operation was executed. This operation doesn't
# remove the delegated administrator account in AWS Organizations.
svc$disable_organization_admin_account(
  AdminAccountId = "123456789012"
)

## End(Not run)