---
title: "ListHost"
method: GET
path: "/nas/v1/orgs/{OrgID}/reports/hosts"
tags: ["NAS"]
---

# ListHost

`GET /nas/v1/orgs/{OrgID}/reports/hosts`

## Request

- Base URL: `//apis.druva.com/phoenix` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/phoenix/nas/v1/orgs/{OrgID}/reports/hosts`
- Auth: API key in header `Authorization`

Returns a list of all NAS hosts.

## Path parameters

- `OrgID` integer, required

## Query parameters

- `hostName` string
- `pageToken` string

## Response `200`

Result schema for 200 Response of GET ListHostResponse

- NASListHostResponse: ListHostResponse is the response schema for ListHost
  - `hosts` NASHostResponse[]
    - `description` string: The description of NAS host.
    - `hostFQDN` string: Fully qualified domain name of the NAS host.
    - `hostName` string: The name of NAS host.
    - `organizationName` string: The name of organization.
    - `shares` NASShare[]
      - `shareName` string: The name of the NAS share.
      - `shareType` string: The type of the NAS share.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.

## Other responses

- `400`: Bad Request
- `401`: The request did not include an authentication token or the authentication token was expired.
- `403`: Forbidden
- `404`: The requested resource was not found.
- `500`: The request was not processed due to an internal error in Cloud.

---

[API](https://skmtc.dev/druva/apis/enterprise-workloads.md) - [All operations](https://skmtc.dev/druva/apis/enterprise-workloads/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/enterprise-workloads/revisions/18fc75e8229e?raw)
