@PostMapping("/terminate")
    @Operation(summary = "Terminate workflows execution")
    public BulkResponse terminate(
            @RequestBody List<String> workflowIds,
            @RequestParam(value = "reason", required = false) 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
rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowBulkResource.java