the create_user API does not allow us to create a user with a specific Profile. It assigns the Data science license, and if there is no more free license, it fails. How to override it and create for example an "Explorer"?
This does not seems to work:
client.create_user( user , pwd, display_name= user_first_last_name , source_type='LOCAL', groups=user_groups, user_profile = 'EXPLORER' )