# How to disable pi-hole for 5 minutes using Curl or Powershell

**URL:** <https://discourse.pi-hole.net/t/how-to-disable-pi-hole-for-5-minutes-using-curl-or-powershell/73235>\
**Category:** Community Help\
**Created:** [October 6, 2024, 1:49pm UTC](https://discourse.pi-hole.net/t/how-to-disable-pi-hole-for-5-minutes-using-curl-or-powershell/73235 "2024-10-06T13:49:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stonerl](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/stonerl/32/39097_2.png) [@stonerl](https://discourse.pi-hole.net/u/stonerl)\
**Post date:** [October 6, 2024, 2:50pm UTC](https://discourse.pi-hole.net/t/how-to-disable-pi-hole-for-5-minutes-using-curl-or-powershell/73235/2 "2024-10-06T14:50:56Z")

</div>

You might need to add the API token to access this endpoint:

> [@How to use the api](https://discourse.pi-hole.net/t/how-to-use-the-api/61004/2):
>
> To use most API endpoints you need to append &auth=\<YOURAPITOKEN\> to the URL, like this: http://pi.hole/admin/api.php?summaryRaw&auth=\<YOURAPITOKEN\>

---

_[View the full topic](https://discourse.pi-hole.net/t/how-to-disable-pi-hole-for-5-minutes-using-curl-or-powershell/73235)._
