Hallo,
ich habe mit Pi5 und Pi6 upgedatet. Zugriff über einen Nginx Proxy Manager, welche auf einem VPS im Internet läuft. Der VPS und mein Pi sind über einen Wireguard Tunnel verbunden. Soweit alles OK.
Ich hatte auf meinem ipad die URL
https://pihole.domain.tld/admin/api.php?disable=3600&auth=hierkommtderAPIkey ****
abgelegt, damit ich mit einem Klick den Pi für 1 Stunde disablen konnte.
Leider geht das jetzt unter V6 nicht mehr.
Kann mir hier jemand weiterhelfen, was zu tun ist?
Pi-hole v6 nutzt keine API Keys mehr, sondern sitzungsbasierte Token:
Confusion around API authentication
We’ve seen a few posts of people asking where to find the API key – likely because their third party apps (that have yet to be updated to work with Pi-hole V6) are expecting one. The new API is fully documented on our docs site, but the short version of this is that there is no longer a specific API key, rather the API uses a session-based authentication token, which you can read about on the docs site.
Did you know that the API is also fully documented on your local Pi-hole install? just browse to http://your.pihole.ip/api/docs
to find it! (You may need to change the port in that URL…)
system
Closed
April 24, 2025, 3:08pm
3
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.