Download a device profile
GET/api/key/:name
Returns a device's client configuration as a file download, in the OpenVPN, Tunnelblick or WireGuard format chosen with format. OpenVPN profiles include the CA, client certificate, key and TLS auth key: inline when unzipped, as separate files in the zip. WireGuard configs contain the device's private key. Both follow the current tunnel routing and DNS settings, and WireGuard also includes the device's routed networks. Pass owner to pick a device by owner and name; without it, an admin gets the first device with that name. Users can download only their own devices; admins can download any device.
An unknown format, or zip=false with tblk, returns 400.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Profile file or zip archive.
Request failed.
Request failed.
Request failed.
Request failed.