I am using the API to add a new basic user:
I need the user to be an administrator, is that possible?
If not, maybe there is another way to create a basic user administrator by API?
Thanks
I am using the API to add a new basic user:
I need the user to be an administrator, is that possible?
If not, maybe there is another way to create a basic user administrator by API?
Thanks
Yes, this is possible. It will require two steps. First step you create the new basic user. Second step you add the newly created basic user to the Administrator’s role.
Assuming you have the first step working, second step can be achieved by using the AddRoleMember task - https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/#tag/Security/operation/postTaskForRolesusers
I did the experiment, created a basic user “admin”, found the administrators role, and then did a POST to add the basic user to the role.