Ho can I disable pihole for 5 minutes using a curl or Powershell Command.
What I've tried is:
curl -X GET "http://cs1:60080/admin/api.php?disable=360"
But I get pi-hole answer:
Session expired! Please re-login on the Pi-hole dashboard
Any chance there's a way to target just one device, rather than disable all blocking, for X seconds? Suggestion being add to a group then disable the group (or enable exclusionGroup, I'm easy), that group after X sleep? I guess what I'm asking is, does the API support such a request? If so where would one source the applicable syntax?