Kea Leases API Endpoint

Started by tbone, Today at 06:51:57 PM

Previous topic - Next topic
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".
But a POST request to the same endpoint returns "411 Length Required". Strange.

Can someone help me how to retieve the list of dhcp leases?

-Thomas