---
title: "List assigned devices for network policy"
method: GET
path: "/devices/network-policy/{policyId}"
tags: ["Device"]
---

# List assigned devices for network policy

`GET /devices/network-policy/{policyId}`

List assigned devices for the network policy with pagination.

## Path parameters

- `policyId` integer, required

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

OK

- PagedXiqDevice
  - `page` integer, required — The current page number
  - `count` integer, required — The element count of the current page
  - `total_pages` integer, required — The total page number based on request page size
  - `total_count` integer, required — The total element count
  - `data` XiqDevice[] — The data in the current page
    - `id` integer — The Device Id
    - `hostname` string — The Device Hostname

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
