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

# ListHost

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

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