OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: tbone on January 30, 2026, 06:51:57 PM

Title: Kea Leases API Endpoint
Post by: tbone on January 30, 2026, 06:51:57 PM
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