You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Current »
Add user to my group which I am the owner of.
http://your.server.url/rest/wittified/delegated-groups/1.0/delegation/my-group
curl -u admin:admin -X POST -d ‘{“group”: “creator”,“user”:“[user1]“}’ -H “Content-Type: application/json” -v http://your.server.url/rest/wittified/delegated-groups/1.0/delegation/my-group
Remove user from my group which I am the owner of.
curl -u admin:admin -X DELETE -d '{"group": "creator","user":"40289dd88611a20c018611a7d8720000"}' -H "Content-Type: application/json" -v http://your.server.url/rest/wittified/delegated-groups/1.0/delegation/my-group
Remove multiple users from my group which I am the owner of.
curl -u admin:admin -X DELETE -d '{"group": "creator","users":"[40289dd88611a20c018611a7d8720000, 60389de88611b30c019611a7d8820001]"}' -H "Content-Type: application/json" -v http://your.server.url/rest/wittified/delegated-groups/1.0/delegation/user/bulk-remove