---
title: "Get account alias"
method: POST
path: "/organizations/{organization_id}/aws/accountalias"
tags: ["Aws"]
---

# Get account alias

`POST /organizations/{organization_id}/aws/accountalias`

## Request

- Base URL: `//apis.druva.com/awsnative` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/awsnative/organizations/{organization_id}/aws/accountalias`
- Auth: API key in header `Authorization`

Get alias for the account using the specified ARN and external ID

## Path parameters

- `organization_id` string, required

## Request body

- PostOrganizationsAwsAccountaliasRequest
  - `access_role_arn` string
  - `external_id` string
  - `state` string

## Response `200`

200 response

- PostOrganizationsAwsAccountaliasResponse
  - `ResponseMetadata` object
    - `RequestId` string
  - `AccountAliases` string[]
  - `IsTruncated` boolean

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/aws-native.md) - [All operations](https://skmtc.dev/druva/apis/aws-native/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/aws-native/revisions/6dd34c53e5f5?raw)
