Skip to content

Commit 9a75978

Browse files
committed
DEVDOCS-13232 add missing eSign 27 Step 3 Java cD mkrs
1 parent e101cf4 commit 9a75978

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/com/docusign/controller/eSignature/examples/EG027ControllerPermissionDelete.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,17 @@ protected void onInitModel(WorkArguments args, ModelMap model) throws Exception
4545

4646
@Override
4747
protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse response) {
48-
// Step 2: Construct your API headers
48+
// Construct your API headers
4949
AccountsApi accountsApi = createAccountsApi(session.getBasePath(), user.getAccessToken());
5050

51-
// Step 3: Call the eSignature Rest API to delete profile
51+
// Call the eSignature Rest API to delete profile
52+
//ds-snippet-start:eSign27Step3
5253
String curProfileId = args.getProfileId();
5354
try {
5455
PermissionDeleteService.permissionDelete(accountsApi, session.getAccountId(), curProfileId);
56+
//ds-snippet-end:eSign27Step3
5557

56-
// Step 4: Show 'done' (successful) page
58+
// Show 'done' (successful) page
5759
DoneExample.createDefault(getTextForCodeExampleByApiType().ExampleName)
5860
.withMessage(getTextForCodeExampleByApiType().ResultsPageText.replaceFirst("\\{0}", curProfileId))
5961
.addToModel(model, config);

0 commit comments

Comments
 (0)