Delete account alias
Delete account alias.
Usage
tkm org accounts delete-alias \
--account-id <account-id>
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.
# Permission needed to assume a role from the target account
# used to delete the account alias.
Statement:
- Effect: Allow
Action: sts:AssumeRole
Resource: "*"
The role in the target account must have the following permissions.
Statement:
- Effect: Allow
Action:
- iam:DeleteAccountAlias
- iam:ListAccountAliases
Resource: "*"
Examples
Delete account alias:
tkm org accounts delete-alias --account-id 123456789012
Last updated
Was this helpful?