How to auth in pihole v6?

How can auth in the api?

https://pi-hole.net/blog/2023/10/09/pi-hole-v6-beta-testing/#page-content

https://ftl.pi-hole.net/development-v6/docs/