how to attach usergroup to one organisation using API
Iam creating users, usergroups, organisation in runtime. But how to attach usergroup to one organisation using API or service ?

Iam creating users, usergroups, organisation in runtime. But how to attach usergroup to one organisation using API or service ?

And you need the 'AddMember' service.
I've shot a quick sample video showcasing these two approaches.
I only noticed that the question was about adding groups, not users, after I've filmed the video, but that would be pretty much the same, besides changinf the "type" param value to "Group"
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.