How deactivate a user temporary using api

Hi @mrvn and welcome to the Mattermost forums!

To reactivate a user, you would use the UpdateUserActive API call, at least that’s what mmctl does with its user activate command line option.