Hello,

On 4/8/19 8:41 PM, [email protected] 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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/YXFX2GNSC3Y7INVINHKBI5KAHIHXY2PG/
Best regards.

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/7KWOKILNEFJACBACBFQSUD72NC6XGKST/

Reply via email to