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

Import a network from a WireGuard configuration file

Devices found in the configuration are returned unmapped; use POST /api/v1/network/{network_id}/devices to assign them to users.

post
Authorizations
defguard_sessionstringRequired
Body
allow_all_groupsbooleanRequired
allowed_groupsstring[]Required
configstringRequired
endpointstringRequired
namestringRequired
Responses
201

Network imported.

application/json
post/api/v1/network/import

Last updated

Was this helpful?