Create users using rest-api

What problem are you solving by creating users via the API?