Skip to content

Commit e343279

Browse files
authored
Update EG027ControllerPermissionDelete.java
codeDepot markers Signed-off-by: Aaron Wilde <[email protected]>
1 parent cb2ba03 commit e343279

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ 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
5251
String curProfileId = args.getProfileId();
5352
try {
53+
//ds-snippet-start:eSign27Step3
5454
PermissionDeleteService.permissionDelete(accountsApi, session.getAccountId(), curProfileId);
55-
56-
// Step 4: Show 'done' (successful) page
55+
//ds-snippet-end:eSign27Step3
56+
5757
DoneExample.createDefault(getTextForCodeExampleByApiType().ExampleName)
5858
.withMessage(getTextForCodeExampleByApiType().ResultsPageText.replaceFirst("\\{0}", curProfileId))
5959
.addToModel(model, config);

0 commit comments

Comments
 (0)