@RequestMapping(value = "/definitions/{name}", method = RequestMethod.DELETE)
	@ResponseStatus(HttpStatus.OK)
	public void delete(@PathVariable("name") String name) throws Exception {
		super.delete(name);
		if( moduleDefinitionService.findDefinition(
				ComposedJobUtil.getComposedJobModuleName(name), ModuleType.job) != null) {
			moduleDefinitionService.delete(ComposedJobUtil.getComposedJobModuleName(name), ModuleType.job);
		}
	}
Request removal of an existing resource definition (stream or job).

@param name the name of an existing definition (required)
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/JobsController.java