ManageableRepository repository = repositoryService.getRepository(repositoryName);
if (forseSessionClose)
forceCloseSession(repositoryName, workspaceName);
if (repository.canRemoveWorkspace(workspaceName))
{
repository.removeWorkspace(workspaceName);
return Response.noContent().build();
}
return Response.status(Status.CONFLICT).entity(