+ POST /control/dhcp/reset: Reset DHCP configuration

This commit is contained in:
Simon Zolin
2019-10-14 12:12:06 +03:00
parent 477a4bbf54
commit df92941ae0
3 changed files with 44 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ Contents:
* "Enable DHCP" command
* Static IP check/set
* Add a static lease
* API: Reset DHCP configuration
* DNS access settings
* List access settings
* Set access settings
@@ -543,6 +544,20 @@ Response:
200 OK
### API: Reset DHCP configuration
Clear all DHCP leases and configuration settings.
DHCP server will be stopped if it's currently running.
Request:
POST /control/dhcp/reset
Response:
200 OK
## TLS