Devices
A device, such as a laptop, reaches the private ports of the tenant through its WireGuard tunnel.
Endpoints
| Method | Path | Returns |
|---|---|---|
GET | /v1/tenants/{tenant}/devices | 200 with {"data": [...]}: a list of the device object. |
POST | /v1/tenants/{tenant}/devices | 201 with the added device object. |
DELETE | /v1/tenants/{tenant}/devices/{name} | 200 with the names of the path and "deleted": true. |
Objects
- The device object: A device of the private network.
- The added device object: What the device's WireGuard config needs.