Yes, follow the example here:

POST /ovirt-engine/api/vms/123/nics

<nic>
  <name>mynic</name>
  <interface>virtio</interface>
  <vnic_profile id="456"/>
</nic>

http://ovirt.github.io/ovirt-engine-api-model/master/#services/vm_nics/methods/add


Regards,
Shani Leviim


On Wed, Apr 21, 2021 at 10:05 AM <ovirt.org@nevim.eu> wrote:
Thanks. Is it possible to do it like this via the REST-API?
I can't find it in the documentation. :-(
I don't use Python.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/GBCOWSEHG6HR2FFWTY6MLD632EPOOQWT/