Create user on mastodon instance through api


#1
Mastodon.create_app(
     'pytooterapp',
     api_base_url = 'https://mastodon.social',
     to_file = 'pytooter_clientcred.secret'
)

mastodon = Mastodon(
    client_id = 'pytooter_clientcred.secret',
    api_base_url = 'https://mastodon.social'
)
mastodon.log_in(
    'my_login_email@example.com',
    'incrediblygoodpassword',
    to_file = 'pytooter_usercred.secret'
)

# Create actual API instance
mastodon = Mastodon(
    client_id = 'pytooter_clientcred.secret',
    access_token = 'pytooter_usercred.secret',
    api_base_url = 'https://mastodon.social'
)
mastodon.toot('Tooting from python using #mastodonpy !')

If we look in above code there is method to go to mastodon instance and create one app as well as tooting in particular instance. My question here is. Is there any way to create user through api in mastodon. For e.g in above code we use mastodon.log_in() method to logged in mastodon instance. I want one method by which I can create user on mastodon instance by passing “Username”,“Email”,“Password” as parameters. Is is possible?. If it is possible then how can I achieve that thing?


#2

My reading of the API documentation is that this is not possible.