Skip to content

Delete Account Alias

iam_delete_account_alias R Documentation

Deletes the specified Amazon Web Services account alias

Description

Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.

Usage

iam_delete_account_alias(AccountAlias)

Arguments

AccountAlias

[required] The name of the account alias to delete.

This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.

Value

An empty list.

Request syntax

svc$delete_account_alias(
  AccountAlias = "string"
)

Examples

## Not run: 
# The following command removes the alias mycompany from the current AWS
# account:
svc$delete_account_alias(
  AccountAlias = "mycompany"
)

## End(Not run)