Add members to SnapLogic groups

In this example, we use the REST Put Snap to add members to a SnapLogic group.

The following image shows the overall pipeline design used for this example:


Pipeline design for adding members to a SnapLogic group

Download this Pipeline
  1. Configure the JSON Generator Snap

    Configure the JSON Generator Snap to enter the details associated with the member that you want to add to the target group.


    JSON Generator configuration for adding members

  2. Configure the REST Put Snap

    Configure the REST Put Snap, enter the account details in the Account tab, and configure the Snap to send the REST request to the endpoint.

    • Service URL: Enter the service URL associated with the group in which you want to add the member. For information on creating the service URL, see Update Member List.
    • HTTP Header: Add a header specifying that the content type used in the body of your REST call is application/json.

    REST Put Snap configuration for adding members

  3. Execute the pipeline

    Save and execute the pipeline. Once the pipeline completes execution, the REST Put Snap displays details associated with the operation performed.


    REST Put output showing member addition

  1. Verify that the member was added successfully to the group in the SnapLogic instance.
  2. Ensure that the REST account has sufficient permissions to modify the group membership.
  3. If the operation fails, verify the service URL and request payload configuration.