20.3. Adding a Group from a Directory Service

The API adds existing directory service groups to the Red Hat Virtualization Manager database with a POST request to the groups collection.

Example 20.2. Adding a group from a directory service

POST /ovirt-engine/api/group HTTP/1.1
Content-Type: application/xml
Accept: application/xml

<group>
    <name>www.example.com/accounts/groups/mygroup</name>
    <domain> 
     <name>example.com</name>
    </domain> 
</group>