# Change username through API?

**URL:** <https://meta.discourse.org/t/change-username-through-api/82500>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [March 8, 2018, 10:32am UTC](https://meta.discourse.org/t/change-username-through-api/82500 "2018-03-08T10:32:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**Post date:** [December 1, 2018, 2:46pm UTC](https://meta.discourse.org/t/change-username-through-api/82500/3 "2018-12-01T14:46:49Z")

</div>

I would like to dig this back up as I have a similar request. I need a newly registered user’s username to be changed to Firstname\_Lastname automatically, but I am already using an SSO (Memberful) and they refuse to do this for ‘security concerns’ 🙄 so I have to do it manually each time a person signs up and inevitably the user emails me about it before I have a chance to change it because it is super boring using only the first name. So is there anyway to to add this as a task? It would of course have to check if the name exists and add a numeral behind it if so. Thanks!

---

_[View the full topic](https://meta.discourse.org/t/change-username-through-api/82500)._
