v4

latestOpenAPI 3.0.1Apache 2.02026-08-036821,1001.5 MB
Network Policy

Update the network policy

Update network policy by ID.

put/network-policies/{id}

Path parameters

idinteger required

The network policy ID

Request body

namestring

The network policy name

descriptionstring

The network policy description

type'NETWORK_ACCESS_AND_SWITCHING' | 'BRANCH_ROUTING' | 'WIRELESS_ACCESS' | 'SWITCHING' | 'NETWORK_ACCESS_AND_SWITCHING_AND_BR' | 'NETWORK_ACCESS_AND_BRANCH_ROUTING' | 'SWITCHING_AND_BRANCH_ROUTING'

The network policy type

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.