Hi Mathew, While trying to assign your VM from ADMIN to USER account, are you making this API call as the user? This error must be due to the reason that the caller of the API doesn't have permission to operate on the given resource (VM belongs to the admin account and the user cannot operate on it). You can try calling the same API as the root admin and it should work.
I'm not aware of any resource on API permissions system myself but general rules are check for API access for a particular user role, domain admin and user account cannot operate on resources owned by users of other domains or parent/root domain. Regards, Abhishek ________________________________ From: Matthew Smart <[email protected]> Sent: 09 September 2020 23:32 To: [email protected] <[email protected]> Subject: AssignVirtualMachine I have not had to do this in quite some time but I can no longer assign a VM from my root account to a user account. I get the following error: Failed to move vm Acct[UUID-USERNAME] does not have permission to operate with resource Acct[UUID-admin] I know that a bunch of permission stuff has been added over the last few releases but I have no idea which one I need to set to get this working. I'm running 4.13.0 in case it matters. Any ideas and/or any good resources outlining the API permissions system? I was able to find the permissions in the UI but it looks like it is allow/deny on a per API call basis. I added assignvirtualmachine there but it is still failing. Thanks, -- Matthew Smart President Smart Software Solutions Inc. 108 S Pierre St. Pierre, SD 57501 Phone: (605) 280-0383 Skype: msmart13 Email: [email protected] [email protected] www.shapeblue.com 3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK @shapeblue
