Automatic private space creation for new users via API

Hi there,
is it possible to automate the creation of private spaces within existing teams in the HUB for new users? We want each user to have their own private space in the teams they belong. I did not find anything in the admin workflows.
The documentation in the API for PUT /repository/… was not very explanatory.
Any hints are appreciated.
Thanks,
Denis

Hi @d3n1s,

sorry for the late reply—right now this is not possible out of the box.

What could be done right now would be to create a schedule that regularly compares the users in a team with the spaces there are and creates (and deletes?) spaces automatically—would something like this help you already?

Kind regards,
Lukas

2 Likes

Hi Lukas,

yes, that was exactly what we had in mind. We are just not that far in the implementation.
Any hints here are appreciated.

Thanks,
Denis

Hi @d3n1s,

I quickly put something together that might serve as an inspiration (!) on how the API endpoints of the Business Hub can be used with the KNIME Analytics Platform to automatically create user spaces in a team:

(Disclaimer: this is not a well tested, finished product, but should really only serve as a pointer on how one can automatically create user spaces.)

Something like this could be scheduled to run every day in the team that should have this functionality. Is that already useful? Happy to explain (parts of) the workflow in detail!

Kind regards,
Lukas