500 when creating user via API

If you are using the LDAP plugin, isn’t LDAP responsible for creating users? It’s certainly responsible for passwords. Does it work if you disable LDAP?