Use case from a customer: Want to be able to use the API to create LDAP-connected users and in turn automatically assign them to teams. Right now the only way is to
create users via the APIs, with email/password auth
use the CLI to migrate users over to LDAP
Proposed change: Migrate existing users to LDAP through the APIs, in addition to the CLI. Would like to have the ability to migrate users en masse or individually using the Go API and/or the RESTful API.
2) Community request (from the same customer): https://mattermost.uservoice.com/forums/306457-general/suggestions/31244716-allow-migration-of-users-e-g-to-ldap-using-rest