heroku / platform-api

Ruby HTTP client for the Heroku API
MIT License
214 stars 85 forks source link

/users/{id} endpoint returns 404 for every user but my own #121

Open kristiandupont opened 3 years ago

kristiandupont commented 3 years ago

I apologise if this is not the place for this (it's an API issue/question, not specific to the Ruby lib). If there is a better place, please let me know.

I am trying to get the names of the users in my enterprise account. The enterprise-accounts/{id}/members endpoint returns a nice list that has user id and emails. However, if I try to call the /users/{id} endpoint with said id's, I get 404 for every user except for myself.

I assume this is an authorization issue, but I am admin and if I don't have access, is there any way to achieve it? If not, what is the point of the users endpoint?