you specify username, password and email in the body (payload) of the POST as Key:Value pairs.
Code from the API method: ( https://galaxy-central.
readthedocs.org/en/latest/_) modules/galaxy/webapps/galaxy/ api/users.html# UserAPIController.create
username = payload[ 'username' ] email = payload[ 'email' ] password = payload[ 'password' ]There are also other conditions that need to be fulfilled (e.g. user creation has to be turned on in the configuration) - you will find these when you look at the source code of the method (because the documentation is not perfect yet, sorry).M.