Import a network from a WireGuard configuration file
post
Authorizations
defguard_sessionstringRequired
Body
allow_all_groupsbooleanRequired
allowed_groupsstring[]Required
configstringRequired
endpointstringRequired
namestringRequired
Responses
201
Network imported.
application/json
400
Invalid WireGuard configuration.
application/json
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
413
Configuration file too large.
application/json
500
Unable to import network.
application/json
post/api/v1/network/import
Last updated
Was this helpful?