Skip to content

Commit c2fcb0e

Browse files
committed
DEVDOCS-10492 eSign 25 cD mkrs
1 parent 5c249f9 commit c2fcb0e

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

app/eSignature/examples/eg025_permissions_set_user_group.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)