assign quota to a user with the api rest services of ovirt

Hi I am running version 4.3.2 of ovirt and I am trying to assign a user to a quota with the services of api rest of ovirt. I can not find any service or reference between the services that help me to make the user assignment to quota. Please help Thanks

Hello, On 4/8/19 8:41 PM, racolina@softel.cu wrote:
Hi
I am running version 4.3.2 of ovirt and I am trying to assign a user to a quota with the services of api rest of ovirt. I can not find any service or reference between the services that help me to make the user assignment to quota. Consumer of quota is a special permission added to the quota. Add new one with:
POST /ovirt-engine/api/datacenters/{datacenter:id}/quotas/{quota:id}/permissions with xml body: <permission> <role> <name>QuotaConsumer</name> </role> <user id="{user:id}"/> </permission>
Please help
Thanks _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/YXFX2GNSC3Y7IN... Best regards.
-- Lucie Leistnerova Quality Engineer, QE Cloud, RHVM Red Hat EMEA IRC: lleistne @ #rhev-qe
participants (2)
-
Lucie Leistnerova
-
racolina@softel.cu