Skip to content

Commit

Permalink
Clarifying which command to use to convert bots (mattermost#4953)
Browse files Browse the repository at this point in the history
* Clarifying which command to use to convert bots

Also added a link to mmctl

* Update source/developer/bot-accounts.rst

* Update source/developer/bot-accounts.rst

Co-authored-by: Justine Geffen <[email protected]>
  • Loading branch information
icelander and justinegeffen authored Aug 15, 2021
1 parent 64cffaf commit 74abb1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/developer/bot-accounts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ If the user is an existing user account you want to preserve, change its usernam
How do I convert an existing account to a bot account?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Use the following CLI command to convert an existing user account to a bot:
You can use the `mmctl command line tool `<https://docs.mattermost.com/manage/mmctl-command-line-tool.html>`_ to convert a user to a bot, with the following command:

.. code-block:: text
user convert [email protected] --bot
mmctl user convert [email protected] --bot
In addition to email, you may identify the user by its username or user ID.
In addition to an email address, users can be identified by their Mattermost username or user ID.

Bot accounts which were converted from user accounts will have their authentication data cleared if they were email/password accounts. Those synchronized from LDAP/SAML will not have their authentication data cleared so that LDAP/SAML synchronization performs correctly.

Expand Down

0 comments on commit 74abb1a

Please sign in to comment.