---
title: "Get Servers"
method: POST
path: "/organizations/{organization_id}/accounts/{account_id}/servers"
tags: ["Servers"]
---

# Get Servers

`POST /organizations/{organization_id}/accounts/{account_id}/servers`

## 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}/accounts/{account_id}/servers`
- Auth: API key in header `Authorization`

Creates/Attaches a server to an account

## Path parameters

- `organization_id` string, required
- `account_id` string, required

## Request body

- PostOrganizationsAccountsServersRequest
  - `Tags` object[]
    - `Key` string
    - `Value` string
  - `Keywords` string[]

## Response `200`

200 response

- PostOrganizationsAccountsServersResponse
  - `total` integer
  - `hits` object
    - `_id` string
    - `Type` string
    - `InstanceId` string
    - `Name` string
    - `TagCount` integer
    - `Tags` object[]
    - `InstanceType` string
    - `State` object
      - `Code` integer
      - `Name` string
    - `Region` string
    - `AvailabilityZone` string
    - `Schedules` string[]
    - `Policies` string[]
    - `HasIndexedBackups` boolean
    - `VpcId` string
    - `SubnetId` string
    - `SecurityGroups` object[]
      - `GroupName` string
      - `GroupId` string

## 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)
