Url to check if currently authenticated as an admin?

I want to use homeassistant to check if I’m currently authenticated as an admin user to protect some associated webui’s behind a traefik proxy, using forwardauth middleware.

Is there a url I can access that will respond 200 if I’m logged in as an admin and 501 or 304 if I’m logged in as a regular user or not at all? I think I can use this to pass the session cookie from traefik and deny/permit access to the other services.