@DELETE
    @Path("/terminate")
    @ApiOperation("Terminate workflows execution")
    public BulkResponse terminate(List<String> workflowIds, @QueryParam("reason") String reason) {
        return workflowBulkService.terminate(workflowIds, reason);
    }
@ DELETE @ Path ( "/terminate" ) @ ApiOperation ( "Terminate workflows execution" ) public BulkResponse terminate ( List < String > workflowIds , @ QueryParam ( "reason" ) String reason ) { return workflowBulkService . terminate ( workflowIds , reason ) ; }
Terminate workflows execution.
@param workflowIds - list of workflow Ids  to perform terminate operation on
@param reason - description to be specified for the terminated workflow for future references.
@return bulk response object containing a list of succeeded workflows and a list of failed ones with errors