# \[solved\] How do I delete a user

**URL:** <https://forum.mattermost.com/t/solved-how-do-i-delete-a-user/7208>\
**Category:** Troubleshooting\
**Created:** [May 3, 2019, 9:41pm UTC](https://forum.mattermost.com/t/solved-how-do-i-delete-a-user/7208 "2019-05-03T21:41:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![svalowden](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/svalowden/32/2865_2.png) [@svalowden](https://forum.mattermost.com/u/svalowden)\
**Post date:** [May 3, 2019, 9:41pm UTC](https://forum.mattermost.com/t/solved-how-do-i-delete-a-user/7208/1 "2019-05-03T21:41:00Z")

</div>

We have a set number of Mattermost licenses and originally created one called Mattermost\_admin. Now, with everyone clambering to have an account, we need to turn that one into a regular user. If I deactivate a user am I going to be able to add another one on their license?

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [May 3, 2019, 9:58pm UTC](https://forum.mattermost.com/t/solved-how-do-i-delete-a-user/7208/2 "2019-05-03T21:58:13Z")

</div>

Hi @svalowden,

You can delete a user with this CLI command: [https://docs.mattermost.com/administration/command-line-tools.html#mattermost-user-delete](https://docs.mattermost.com/administration/command-line-tools.html#mattermost-user-delete).

Please note that deleting a user will permanently delete them from the database.

Does this answer your question or let me know if you need further assistance on this?

---

<div class="post-metadata">

**Author:** ![svalowden](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/svalowden/32/2865_2.png) [@svalowden](https://forum.mattermost.com/u/svalowden)\
**Post date:** [May 3, 2019, 10:40pm UTC](https://forum.mattermost.com/t/solved-how-do-i-delete-a-user/7208/3 "2019-05-03T22:40:39Z")

</div>

Yes, this answers my question, thanks!
