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

Assign imported devices to users

Used to finish the network import started with POST /api/v1/network/import.

post
Authorizations
defguard_sessionstringRequired
Path parameters
network_idinteger · int64Required

ID of the network.

Body
Responses
201

Devices assigned to users.

No content

post/api/v1/network/{network_id}/devices
POST /api/v1/network/{network_id}/devices HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 92

{
  "devices": [
    {
      "name": "text",
      "user_id": 1,
      "wireguard_ips": [
        "text"
      ],
      "wireguard_pubkey": "text"
    }
  ]
}

No content

Last updated

Was this helpful?