@RequestMapping(value = "/deployments", method = RequestMethod.DELETE)
	@ResponseStatus(HttpStatus.OK)
	public void undeployAll() throws Exception {
		deploymentMessagePublisher.poll(new DeploymentMessage(deploymentUnitType)
				.setDeploymentAction(DeploymentAction.undeployAll));
	}
Request un-deployment of all resources.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/XDController.java