v4

latestOpenAPI 3.0.1Apache 2.02026-08-036821,1001.5 MB
Device

Get network policy for a device

Get the network policy for a specific device.

get/devices/{id}/network-policy

Path parameters

idinteger required

The device ID

Response

OK

idinteger required

The unique identifier

create_timestring date-time required

The create time in UTC (ISO 8601 format)

update_timestring date-time required

The last update time in UTC (ISO 8601 format)

org_idinteger

The organization identifier, valid when enabling HIQ feature

namestring required

The network policy name

descriptionstring

The network policy description

predefinedboolean required

Whether it is a predefined network policy

type'NetworkAccessAndSwitching' | 'BranchRouting' | 'WirelessAccess' | 'Switching' | 'NetworkAccessAndSwitchingAndBR' | 'NetworkAccessAndBranchRouting' | 'SwitchingAndBranchRouting' required

The network policy type.