# API documentation error?

**URL:** <https://meta.discourse.org/t/api-documentation-error/97624>\
**Category:** Development\
**Created:** [September 20, 2018, 7:43am UTC](https://meta.discourse.org/t/api-documentation-error/97624 "2018-09-20T07:43:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Julian\_Elve](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/julian_elve/32/119540_2.png) [@Julian\_Elve](https://meta.discourse.org/u/Julian_Elve)\
**Post date:** [September 20, 2018, 7:43am UTC](https://meta.discourse.org/t/api-documentation-error/97624/1 "2018-09-20T07:43:46Z")

</div>

At [this page](https://docs.discourse.org/#tag/Users%2Fpaths%2F~1admin~1users~1%7Bid%7D.json%2Fget) the documentation states that detailed record for user can be obtained by `GET /admin/users/{id}.json `

Tests suggest this is not correct (returns 404) and the correct URL is `GET /admin/users/{id}/{username}.json `

Should I do a PR on the docs repo? Or do the team consider that the API expresses what the API _should_ do, so this is actually an API bug?

Julian

---

_[View the full topic](https://meta.discourse.org/t/api-documentation-error/97624)._
