Delete account alias
Delete account alias.

Usage

1
tkm org accounts delete-alias \
2
--account-id <account-id>
Copied!

Positional arguments

This command has no positional arguments.

Options

In addition to the common options, this command has the following options.
    --account-id <account id>
      Account id. Required.

IAM permissions

These are the minimum IAM permissions required to run this command.
1
# Permission needed to assume a role from the target account
2
# used to delete the account alias.
3
Statement:
4
- Effect: Allow
5
Action: sts:AssumeRole
6
Resource: "*"
Copied!
The role in the target account must have the following permissions.
1
Statement:
2
- Effect: Allow
3
Action:
4
- iam:DeleteAccountAlias
5
- iam:ListAccountAliases
6
Resource: "*"
Copied!

Examples

Delete account alias:
1
tkm org accounts delete-alias --account-id 123456789012
Copied!
Last modified 4mo ago