I want to add new users to our moodle system in a webapp via the REST-API. Since you need to be logged in for "core_user_create_users" to work, I thought "auth_email_signup_user" would be the correct function. But here I always get the "Invalid parameter value detected" error... The API documentation says I need a username, password, firstname, lastname and email parameter, but it won't work:
The parameter format for core_user_create_users is "users[firstname], users[lastname]" etc. but this won't work either.
Any ideas what I am doing wrong?