I am busy creating an option to add users in bulk to a private workspace using VIKTOR’s external API. I note that the documentation does not explicitly define this yet (if it does, then please share the link). In trying to figure this out, I came this far:
Which payload variables are required, and which are nullable?
What would be an easy way to obtain the access_group id? And if this is a nullable variable, will this by default add the user to the default group?
It is not entirely clear what the variable id represents. Could this be explained.
Thanks in advance!
PS this post is made to share and promote questions, requests, or conversations held outside the community to make this knowledge sharable for the broader community. @TH-MDR , this post is relevant for you.
BTW, i just checked and saw that it is unfortunately not possible to copy paste a list of users to be added to private workspace, will checkout if this is something we can easily add and create an internal ticket for this
In case you simply want to add these users to the Default User Group of the specific Workspace:
The API docs for fetching Workspaces shows the response containing a "default_group" key, which provides the id of the User Group that is currently set as default. You could use that for the access_group