---
title: "Get network policy for a device"
method: GET
path: "/devices/{id}/network-policy"
tags: ["Device"]
---

# Get network policy for a device

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

Get the network policy for a specific device.

## Path parameters

- `id` integer, required

## Response `200`

OK

- XiqNetworkPolicy
  - `id` integer, required — The unique identifier
  - `create_time` string, date-time, required — The create time in UTC (ISO 8601 format)
  - `update_time` string, date-time, required — The last update time in UTC (ISO 8601 format)
  - `org_id` integer — The organization identifier, valid when enabling HIQ feature
  - `name` string, required — The network policy name
  - `description` string — The network policy description
  - `predefined` boolean, required — Whether it is a predefined network policy
  - `type` 'NetworkAccessAndSwitching' | 'BranchRouting' | 'WirelessAccess' | 'Switching' | 'NetworkAccessAndSwitchingAndBR' | 'NetworkAccessAndBranchRouting' | 'SwitchingAndBranchRouting', required — The network policy type.

---

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