Mistake on docs website

In the below image which is of User HTTP API, it is shown that user is fetched by passing email in url parameter and API Token as Authentication header. But when firing the API End point, it is giving me ‘permission denied’.

I used API Token which has Admin right. Also, the user exists in the Organization in which this API Token is created.

I also tried using API Token of the Main Org and tried passing super admin email in url parameter but no luck

Is it a mistake on the web site or does it work using API Token authentication ?

image

yes, you are correct this api requires server admin permission (and those only work with user authentication, or basic auth)

So basically does not work using API token authentication