@RequestMapping( value = "/{topologyId}/workflows/{workflowName}/steps/{stepId}", method = RequestMethod.DELETE, produces = MediaType.APPLICATION_JSON_VALUE) public RestResponse<Workflow> removeStep( @PathVariable String topologyId, @PathVariable String workflowName, @PathVariable String stepId) { Topology topology = topologyServiceCore.getMandatoryTopology(topologyId); topologyService.checkEditionAuthorizations(topology); topologyService.throwsErrorIfReleased(topology); Workflow wf = workflowBuilderService.removeStep(topology, workflowName, stepId, false); alienDAO.save(topology); return RestResponseBuilder.<Workflow>builder().data(wf).build(); }