Config dhcp sever by api

Hello,

We want to release dhcp lease vai api.
The only problem is that the dhcp server is waiting for a Y or N response.
Do you know how to push this parameter via the api?

With kind regards.