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

Get the WireGuard configuration of a user device

Returns one configuration per location the device is allowed to connect to.

get
Authorizations
defguard_sessionstringRequired
Path parameters
device_idinteger · int64Required

ID of the device.

Responses
200

Device configuration for each location.

application/json
object[]Optional
get/api/v1/device/{device_id}/config
GET /api/v1/device/{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?