Disable open server while allowing user creation via API

I need to be able to create users via the API after they fill out a custom form, without enabling the Create Account link on the login page

I’m just learning how to use Mattermost. My goal is to be able to create users via a custom form on my website via the API. I have figured out how to do that, but in order to do so, I need to turn on the “Enable Open Server” permission. When I do that, the “Don’t have an account” link is visible on the login page. I haven’t found a way to disable that.

To create the user, I set up a bot user with system admin privileges.

So is there something I’m missing to allow the API to create a user without needing it to be an “open server”?

Hi Skye! Welcome to the Mattermost community! :star2: You should be able to create users via the API without enabling the “Create Account” link on the login page by configuring your server settings and permissions. Check out the API documentation for more details on the configurations. If you have any more questions as you explore Mattermost, feel free to ask!