GitHub user marving123 added a comment to the discussion: Template - How to 
change owner account?

@EduFrazao

I checked this as well, and I don't see a supported API to directly change the 
owner of an existing template.

As Pearl mentioned, **updateTemplatePermissions** can give another account 
access to the template, but the original account remains the owner.

If you really need the new account to own it, one workaround would be to 
register/create a new copy of the template under that account. A root admin can 
specify the target account and domain while registering a template.

I would avoid changing the ownership directly in the CloudStack database, as 
there may be other references and resource accounting involved. Just curious, 
is there a specific reason you need to change the owner instead of sharing the 
template with the other account?

Marvin AccuWeb.Cloud

GitHub link: 
https://github.com/apache/cloudstack/discussions/14521#discussioncomment-19265478

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to