Add groups write APIs
Merge pull request #372 from eko/master

Add groups write APIs