# How can I update users via API using the user id (not username)?

**URL:** <https://meta.discourse.org/t/how-can-i-update-users-via-api-using-the-user-id-not-username/170203>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [November 15, 2020, 5:06pm UTC](https://meta.discourse.org/t/how-can-i-update-users-via-api-using-the-user-id-not-username/170203 "2020-11-15T17:06:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![wilson29thid](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wilson29thid/32/173700_2.png) [@wilson29thid](https://meta.discourse.org/u/wilson29thid)\
**Post date:** [November 18, 2020, 6:41am UTC](https://meta.discourse.org/t/how-can-i-update-users-via-api-using-the-user-id-not-username/170203/3 "2020-11-18T06:41:55Z")

</div>

Thanks, I had a similar lightbulb moment after posting.

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-update-users-via-api-using-the-user-id-not-username/170203)._
