20.3. Adding a Group from a Directory Service
The API adds existing directory service groups to the Red Hat Enterprise Virtualization Manager database with a
POST
request to the groups
collection.
Example 20.2. Adding a group from a directory service
POST /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>
POST /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>