# Wheree can I get the User ID to use to update a user?

**URL:** <https://community.auth0.com/t/wheree-can-i-get-the-user-id-to-use-to-update-a-user/115950>\
**Category:** Get Help\
**Tags:** user-profile, user-management\
**Created:** [September 11, 2023, 11:44pm UTC](https://community.auth0.com/t/wheree-can-i-get-the-user-id-to-use-to-update-a-user/115950 "2023-09-11T23:44:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![avantassel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/avantassel/32/50748_2.png) [@avantassel](https://community.auth0.com/u/avantassel)\
**Post date:** [September 11, 2023, 11:44pm UTC](https://community.auth0.com/t/wheree-can-i-get-the-user-id-to-use-to-update-a-user/115950/1 "2023-09-11T23:44:27Z")

</div>

What user id is needed to update user info? I am using the get user by email but no IDs work from this call.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 12, 2023, 8:53pm UTC](https://community.auth0.com/t/wheree-can-i-get-the-user-id-to-use-to-update-a-user/115950/3 "2023-09-12T20:53:58Z")

</div>

Hey there @avantassel welcome to the community!

> [@avantassel](#):
>
> What user id is needed to update user info?

If you are getting a user by email, the `user_id` you are looking for will start with the provider (`auth0`, `google-oauth2` etc.):

 ![Screenshot 2023-09-12 at 1.52.04 PM](https://global.discourse-cdn.com/auth0/original/3X/e/a/ea7659469afaa2a6acd73bf3c007f44bf532a63e.png)

You’ll need to use the entire string, so `auth0|62XXXX`.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![avantassel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/avantassel/32/50748_2.png) [@avantassel](https://community.auth0.com/u/avantassel)\
**Post date:** [September 12, 2023, 10:13pm UTC](https://community.auth0.com/t/wheree-can-i-get-the-user-id-to-use-to-update-a-user/115950/4 "2023-09-12T22:13:42Z")

</div>

Ok thanks, I did not try with the provider, this works now.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 12, 2023, 10:20pm UTC](https://community.auth0.com/t/wheree-can-i-get-the-user-id-to-use-to-update-a-user/115950/5 "2023-09-12T22:20:55Z")

</div>

Awesome, good to hear!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 26, 2023, 10:21pm UTC](https://community.auth0.com/t/wheree-can-i-get-the-user-id-to-use-to-update-a-user/115950/6 "2023-09-26T22:21:45Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
