1
0
-1

I am trying to use API Builder in order to Create an User, then Create one or more Organizations and assign the User to an organization.

My expectation was, when assigning an User to an Organization, that the API will assign the User to the new Organization, without removing it from other Organizations, like it is the behavior when using the Joget User Configuration. How can I use the API builder, to obtain this behavior?

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      I know about the APIs. The issue here is that when I use Organization#Assignusertoorganization, it assigns the User only to ONE organization (the one specified in the request), and it removes the User from all the other organizations previously assigned. I would like it to assign the User to an organization, but let the User assigned to the others too.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, in the API Builder documentation, it lists APIs to create a user & organization and assign a user to an organization as you described.

        User#Adduser 
        Organization#Addorganization
        Organization#Assignusertoorganization


          CommentAdd your comment...