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

# Get account alias

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

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.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
