Hi.
I'd like to query the actual leases from a client PC.
According to documentation https://docs.opnsense.org/development/api/core/kea.html the endpoint should be GET /api/kea/leases/search.
Other Kea endpoint do return values, but at this one I get "Endpoint not found".
Can someone help me how to retrieve the list of dhcp leases?
-Thomas
The documentation is auto-generated and appears to have a small issue.
/api/kea/leases4/search
/api/kea/leases6/search
You can find these endpoints very quickly in the core code.
Cheers,
Franco