Auth0 Home Blog Docs

How to edit a Users Profile name and nickname

user-creation
user-profile

#1

Using the dashboard to create a user, I was not prompted for a name or nickname of the user. They were defaulted to the email. Is there anyways to change it after creation?


#2

Unfortunately, at the moment it is yet not possible to update the name and nickname of a user. You can check the list of attributes that can be updated in the [Update a user] (https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id) endpoint.

If you need a way to store an editable user’s profile name and nickname, you can look into using user_metadata and app_metadata.

For reference, here is also an older ongoing discussion regarding this topic: https://community.auth0.com/questions/3516/update-a-user-api-does-not-allow-updating-name


#3

Cool, Thanks!


#4

If we want to store a username in the user_metadata since we cannot updated the nickname of the user, how do we make it unique? Like how do we check during signup that the username field we’re creating in the user_metadata is unique?