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

Start CLI setup for a new network device

Returns an enrollment token the defguard-cli client uses to configure itself.

post
Authorizations
defguard_sessionstringRequired
Body
assigned_ipsstring[]Required
descriptionstring · nullableOptional
location_idinteger · int64Required
namestringRequired
Responses
201

Setup started. Returns the enrollment token and URL.

application/json
objectOptional
post/api/v1/device/network/start_cli
POST /api/v1/device/network/start_cli HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 74

{
  "assigned_ips": [
    "text"
  ],
  "description": null,
  "location_id": 1,
  "name": "text"
}
{
  "enrollment_token": "yZbTsF0m9Xq7cVwPnR2Ld1Ku",
  "enrollment_url": "https://vpn.example.com/"
}

Last updated

Was this helpful?