Hi,
I’m trying to create a user with Editor/Admin roles using the /api/admin/users api…This is the payload i passed-
payload = {'name': 'user1',
'login': 'user1',
'password': 'user1',
'role': 'Admin',
'email': 'user1@dummy.com'}
I see that the user is created but the role is always Viewer. How can i set the role during user creation?