OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: aiwa00 on February 04, 2026, 01:21:03 AM

Title: Automating DHCP static leases via API - missing endpoint?
Post by: aiwa00 on February 04, 2026, 01:21:03 AM
I'm building a lab automation pipeline and need to provision OPNsense 25.7 unattended (http://azpremiumax.com/automating-dhcp-static-leases-via-api-missing-endpoint/). My goal is to manage DHCP static mappings via an API. I've enabled the API and checked the official documentation, but I can't find a core endpoint for dhcpd static leases.
Is there a supported, API-driven method for managing DHCP static leases in the current version that I've missed? If not, is this functionality on the roadmap for the official API?