For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get the WireGuard configuration of a network device

Returns one configuration per location the device belongs to.

get
Authorizations
defguard_sessionstringRequired
Path parameters
device_idinteger · int64Required

ID of the network device.

Responses
200

Network device configuration for each location of the device.

application/json
object[]Optional
get/api/v1/device/network/{device_id}/config
GET /api/v1/device/network/{device_id}/config HTTP/1.1
Accept: */*
[
  {
    "config": "[Interface]\n...",
    "location_mfa_mode": "disabled",
    "network_id": 1,
    "network_name": "office"
  }
]

Last updated

Was this helpful?