# Can't remove a user from a team

**URL:** <https://forum.mattermost.com/t/cant-remove-a-user-from-a-team/3045>\
**Category:** Troubleshooting\
**Created:** [March 15, 2017, 3:04pm UTC](https://forum.mattermost.com/t/cant-remove-a-user-from-a-team/3045 "2017-03-15T15:04:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olipaq](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@olipaq](https://forum.mattermost.com/u/olipaq)\
**Post date:** [March 15, 2017, 3:04pm UTC](https://forum.mattermost.com/t/cant-remove-a-user-from-a-team/3045/1 "2017-03-15T15:04:44Z")

</div>

Hi,

I’m trying to remove a user from a team using Mattermost API 1.4, I don’t get any error but it doesn’t work. I still see the removed user in the user list of the team and in the desktop app Mattermost I can see the user in the list when I want to invite a user to a channel for example, but not in the list for direct messages.

Thank you,

Olivia

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [March 17, 2017, 2:35pm UTC](https://forum.mattermost.com/t/cant-remove-a-user-from-a-team/3045/2 "2017-03-17T14:35:39Z")

</div>

Thanks for the note @olipaq,

Can you help upgrading to the [latest Mattermost version](https://about.mattermost.com/download)? We currently support Mattermost APIv3 and later, so the issue might be fixed through an upgrade.
