---
title: "Search AWS Accounts"
method: GET
path: "/common/v1/search/aws/awsaccounts"
tags: ["Threat Hunting"]
---

# Search AWS Accounts

`GET /common/v1/search/aws/awsaccounts`

## Request

- Base URL: `https://apis.druva.com/realize`
- URL: `https://apis.druva.com/realize/common/v1/search/aws/awsaccounts`
- Auth: API key in header `Authorization`

This API provides the option to search AWS Accounts for provided Phoenix (Enterprise Workloads) organization IDs.

## Query parameters

- `orgIDs[]` integer[], required

## Response `200`

Success

- object[]
  - `accountID` integer: The identifier to uniquely identify AWS Account.
  - `accountName` string: Name of the AWS Account.

## Other responses

- `400`: Bad Request
- `401`: The request either did not include an authentication token, or you have provided an expired authentication token.
- `404`: The requested resource was not found.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/druva/apis/cyber-resilience.md) - [All operations](https://skmtc.dev/druva/apis/cyber-resilience/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cyber-resilience/revisions/b149d46c996a?raw)
