You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rakesh Venkatesh <ww...@gmail.com> on 2021/04/22 09:55:11 UTC
Changing the role of the account
Hello folks
I dont think there is an endpoint right now to change the role of the
account. If I have to change that in db, that should be doable right by
changing the id's in two or three tables. I hope that wont break anything
else. Is it good to add a new parameter to updateAccount api to take the
new role id?
--
Thanks and regards
Rakesh venkatesh
Re: Changing the role of the account
Posted by Rohit Yadav <ro...@shapeblue.com>.
+1 wot Wido advised - it's not supported in UI, but root admin can call the API.
Regards.
________________________________
From: Wido den Hollander <wi...@widodh.nl>
Sent: Thursday, April 22, 2021 15:38
To: dev@cloudstack.apache.org <de...@cloudstack.apache.org>; Rakesh Venkatesh <ww...@gmail.com>; users <us...@cloudstack.apache.org>
Subject: Re: Changing the role of the account
That's already possible:
https://cloudstack.apache.org/api/apidocs-4.15/apis/updateAccount.html
roleid: "The UUID of the dynamic role to set for the account"
Isn't that what you are looking for?
Wido
rohit.yadav@shapeblue.comĀ
www.shapeblue.com
3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK
@shapeblue
On 22/04/2021 11:55, Rakesh Venkatesh wrote:
> Hello folks
>
> I dont think there is an endpoint right now to change the role of the
> account. If I have to change that in db, that should be doable right by
> changing the id's in two or three tables. I hope that wont break anything
> else. Is it good to add a new parameter to updateAccount api to take the
> new role id?
>
Re: Changing the role of the account
Posted by Rohit Yadav <ro...@shapeblue.com>.
+1 wot Wido advised - it's not supported in UI, but root admin can call the API.
Regards.
________________________________
From: Wido den Hollander <wi...@widodh.nl>
Sent: Thursday, April 22, 2021 15:38
To: dev@cloudstack.apache.org <de...@cloudstack.apache.org>; Rakesh Venkatesh <ww...@gmail.com>; users <us...@cloudstack.apache.org>
Subject: Re: Changing the role of the account
That's already possible:
https://cloudstack.apache.org/api/apidocs-4.15/apis/updateAccount.html
roleid: "The UUID of the dynamic role to set for the account"
Isn't that what you are looking for?
Wido
rohit.yadav@shapeblue.comĀ
www.shapeblue.com
3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK
@shapeblue
On 22/04/2021 11:55, Rakesh Venkatesh wrote:
> Hello folks
>
> I dont think there is an endpoint right now to change the role of the
> account. If I have to change that in db, that should be doable right by
> changing the id's in two or three tables. I hope that wont break anything
> else. Is it good to add a new parameter to updateAccount api to take the
> new role id?
>
Re: Changing the role of the account
Posted by Wido den Hollander <wi...@widodh.nl>.
That's already possible:
https://cloudstack.apache.org/api/apidocs-4.15/apis/updateAccount.html
roleid: "The UUID of the dynamic role to set for the account"
Isn't that what you are looking for?
Wido
On 22/04/2021 11:55, Rakesh Venkatesh wrote:
> Hello folks
>
> I dont think there is an endpoint right now to change the role of the
> account. If I have to change that in db, that should be doable right by
> changing the id's in two or three tables. I hope that wont break anything
> else. Is it good to add a new parameter to updateAccount api to take the
> new role id?
>
Re: Changing the role of the account
Posted by Wido den Hollander <wi...@widodh.nl>.
That's already possible:
https://cloudstack.apache.org/api/apidocs-4.15/apis/updateAccount.html
roleid: "The UUID of the dynamic role to set for the account"
Isn't that what you are looking for?
Wido
On 22/04/2021 11:55, Rakesh Venkatesh wrote:
> Hello folks
>
> I dont think there is an endpoint right now to change the role of the
> account. If I have to change that in db, that should be doable right by
> changing the id's in two or three tables. I hope that wont break anything
> else. Is it good to add a new parameter to updateAccount api to take the
> new role id?
>