You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to run REST API ADD_USERS_TO_GROUP

Accepted answer
41
Views
3
Comments
edited Feb 16, 2024 2:03PM in Planning 3 comments

Groovy is undoubtedly a wonderful tool, it has allowed me to run jobs through REST API export and import data, metadata, security, mass rename members, form operations and more, but I have encountered an obstacle, I'm trying to run a REST API to add users to a group, but this method is different from the jobs I have managed to run, is a PUT method and the body as data, if someone can please help me with this REST command I would appreciate it very much, I leave the code with which I have tried.

HttpResponse<String> jsonResponse = operation.application.getConnection("internalConnection").put("/interop/rest/security/v1/groups")

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!