A user asked for help with copying custom roles between tenants using the ControlUp REST API. Other members offered assistance and resources, such as the API endpoint for copying tenant data and offering to help troubleshoot any issues. It was noted that this feature is primarily for MSP-enabled tenants but can potentially be used for non-MSP organizations as well. One user shared their experience using this feature for customers. The original user thanked the community for their contributions. A ControlUp support team member mentioned that they are an MSP customer and will try using the copy edge tenant data API endpoint for this task. They also mentioned a workaround they found using the REST API menu.
Read the entire ‘Copying Custom Roles Between ControlUp Tenants Using REST API’ thread below:
Goodday,
Im trying to copy custom roles from one tenant to another based on the rest api. I have tried creating a script with the assistent of the built in AI in the tenant, but I keep running in to errors. Does someone have this script already developed?
have you looked at this @member?
https://api.controlup.io/reference/orgpubliccontroller_copyedgetenantdata
(this is for MSP enabled CU4D tenants) (but maybe we can help with non MSP orgs as well, via our PS team)
I’ve done this before for customers. Copy demo environment (ACMEorg) roles so that customers have some roles to start with.
There were some gotchas in the structure.
Maybe you and I can get on a call to walk through this Arjan? Small caveat, I am located on the US East cost. So timing might be a small hurdle
thx for jumping in Dennis, true ControlUp community spirit!
Wow awesome, thanks for the input! We are actually a MSP customer. I was in the understanding that the copy edge tenant data was only for tenant configuration and scripts and not roles. But if this includes roles aswell I will try this from my template tenant!
For now I worked around it by creating the entire string for the roll from the rest api menu. But for new tenants I will try the copy data function.
(https://api.controlup.io/reference/orgrolespubliccontroller_create)
Continue reading and comment on the thread ‘Copying Custom Roles Between ControlUp Tenants Using REST API’. Not a member? Join Here!
Categories: All Archives, ControlUp Scripts & Triggers
