Hello,

On 4/8/19 8:41 PM, racol...@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-le...@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/YXFX2GNSC3Y7INVINHKBI5KAHIHXY2PG/
Best regards.

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

IRC: lleistne @ #rhev-qe
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/7KWOKILNEFJACBACBFQSUD72NC6XGKST/

Reply via email to