import boto3

# Create IAM client
iam = boto3.client('iam')

# Delete an account alias
iam.delete_account_alias(
    AccountAlias='ALIAS'
)
5027c48baabe867014426eb1e075c9ff1ea97805
<mask token>

<mask token>
iam.delete_account_alias(AccountAlias='ALIAS')

<mask token>
iam = boto3.client('iam')
iam.delete_account_alias(AccountAlias='ALIAS')

import boto3
iam = boto3.client('iam')
iam.delete_account_alias(AccountAlias='ALIAS')

import boto3

# Create IAM client
iam = boto3.client('iam')

# Delete an account alias
iam.delete_account_alias(
    AccountAlias='ALIAS'
)