OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: utkonos on October 12, 2022, 05:29:09 AM

Title: [SOLVED] Control DHCP via API?
Post by: utkonos on October 12, 2022, 05:29:09 AM
Is it possible to make DHCP changes over the API? I have looked the API documentation up and down and I don't see any endpoints that pretain to the DHCPv4 service. My goal is to check existing leases and then convert one of them to static.

What API endpoint is used to configure DHCPv4 service?
Title: Re: Control DHCP via API?
Post by: franco on October 12, 2022, 09:34:15 AM
DHCP is still part of the static PHP pages for the foreseeable future.


Cheers,
Franco
Title: Re: Control DHCP via API?
Post by: utkonos on October 13, 2022, 01:28:18 AM
Bummer - oh well. Thanks for the quick response.