Set a domain's groups
PUT /api/v1/domains/:id/groups
Replaces the domain's groups with exactly these. A key limited to certain groups can only name its own groups, and the domain keeps any groups outside them.
Needs the DomainsEdit permission.
Request