# Update displayName on all channels

**URL:** <https://forum.social.plus/t/update-displayname-on-all-channels/1591>\
**Category:** General\
**Created:** [January 31, 2025, 2:59pm UTC](https://forum.social.plus/t/update-displayname-on-all-channels/1591 "2025-01-31T14:59:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lana](https://avatars.discourse-cdn.com/v4/letter/l/d2c977/32.png) [@lana](https://forum.social.plus/u/lana)\
**Post date:** [January 31, 2025, 2:59pm UTC](https://forum.social.plus/t/update-displayname-on-all-channels/1591/1 "2025-01-31T14:59:49Z")

</div>

i want to sync username data in my app with amity displayName. how to do that?  
is the api update user will be able to update all the user displayName on all channels?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [January 31, 2025, 4:01pm UTC](https://forum.social.plus/t/update-displayname-on-all-channels/1591/2 "2025-01-31T16:01:17Z")

</div>

Hello @lana, updating a user’s display name should reflect across all channels. Please let us know if you encounter any issues.

**Update user API:** [Amity API](https://api-docs.amity.co/#/User/put_api_v3_users)

---

<div class="post-metadata">

**Author:** ![lana](https://avatars.discourse-cdn.com/v4/letter/l/d2c977/32.png) [@lana](https://forum.social.plus/u/lana)\
**Post date:** [February 2, 2025, 3:47pm UTC](https://forum.social.plus/t/update-displayname-on-all-channels/1591/3 "2025-02-02T15:47:36Z")

</div>

@SocialPlus_Support thanks for the information. But i got this error return

```auto
{
    "status": "error",
    "message": "You are not allowed to do this",
    "code": 400301,
    "data": {
        "detail": {}
    }
}

```

is the token different from the **v4/sessions** because i usually use that token to get all the users and send message. or this one **v4/authentication/token**?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [February 3, 2025, 9:59am UTC](https://forum.social.plus/t/update-displayname-on-all-channels/1591/4 "2025-02-03T09:59:01Z")

</div>

Hello @lana, if you’re using the current user’s token, please check and update the configuration to ensure that users are allowed to update their display name.

**API to get user token:** [Amity API](https://api-docs.amity.co/#/Session/post_api_v4_sessions)  
**API to check displayname configuration:** [Amity API](https://api-docs.amity.co/#/Network%20Setting/put_api_v3_network_settings_users)

---

<div class="post-metadata">

**Author:** ![lana](https://avatars.discourse-cdn.com/v4/letter/l/d2c977/32.png) [@lana](https://forum.social.plus/u/lana)\
**Post date:** [February 3, 2025, 2:47pm UTC](https://forum.social.plus/t/update-displayname-on-all-channels/1591/5 "2025-02-03T14:47:11Z")

</div>

ahh i see now, i got wrong id for the user. thanks a lot.
