Start CLI setup for an existing network device
post
Authorizations
defguard_sessionstringRequired
Path parameters
device_idinteger · int64Required
ID of the network device.
Responses
201
Setup started. Returns the enrollment token and URL.
application/json
objectOptional
400
Device not found, or it is not a network device.
application/json
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
500
Unable to start network device setup.
application/json
post/api/v1/device/network/start_cli/{device_id}
POST /api/v1/device/network/start_cli/{device_id} HTTP/1.1
Accept: */*
{
"enrollment_token": "yZbTsF0m9Xq7cVwPnR2Ld1Ku",
"enrollment_url": "https://vpn.example.com/"
}Last updated
Was this helpful?