AWS Identity and Access Management
API Reference (API Version 2010-05-08)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

DeleteAccountAlias

Description

Deletes the specified AWS account alias. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management.

Request Parameters

For information about the common parameters that all actions use, see Common Parameters.

AccountAlias

Name of the account alias to delete.

Type: String

Length constraints: Minimum length of 3. Maximum length of 63.

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

NoSuchEntity

The request was rejected because it referenced an entity that does not exist. The error message describes the entity.

HTTP Status Code: 404

Examples

Sample Request

https://iam.amazonaws.com/
?Action=DeleteAccountAlias
&AccountAlias=foocorporation
&Version=2010-05-08
&AUTHPARAMS
      

Sample Response

<DeleteAccountAliasResponse>
  <ResponseMetadata>
    <RequestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestId>
  </ResponseMetadata>
</DeleteAccountAliasResponse>