How to change the tenant_id of an existing VM with API

Hello,

Is it possible to alter the tenant_id of an existing VM using the API?

Regards
Remi

Hello,

I believe that you can do it indirectly with using set ownership.

You can assign only group to VMs thru set ownership action but also vm’s tenant is changed to group’s tenant.

see doc:
https://www.manageiq.org/docs/reference/latest/api/reference/ownership

Thanks for your response.
I can confirm that tenant is assigned with the set ownerhip for group.

Regards

1 Like