File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,17 +24,22 @@ def worker(args):
2424 Step 4: Update the group
2525 """
2626
27- # Step 2. Construct your API headers
27+ # Construct your API headers
28+ #ds-snippet-start:eSign25Step2
2829 api_client = create_api_client (base_path = args ["base_path" ], access_token = args ["access_token" ])
2930 group_api = GroupsApi (api_client )
31+ #ds-snippet-end:eSign25Step2
3032
31- # Step 3. Construct your request body
33+ # Construct your request body
34+ #ds-snippet-start:eSign25Step3
3235 group = Group (group_id = args ["group_id" ], permission_profile_id = args ["permission_profile_id" ])
3336 group_information = GroupInformation (groups = [group ])
37+ #ds-snippet-end:eSign25Step3
3438
35- # Step 4. Call the eSignature REST API
39+ # Call the eSignature REST API
40+ #ds-snippet-start:eSign25Step4
3641 response = group_api .update_groups (account_id = args ["account_id" ], group_information = group_information )
37-
42+ #ds-snippet-end:eSign25Step4
3843 return response
3944
4045 @staticmethod
You can’t perform that action at this time.
0 commit comments