code: public void deleteSpaceSync(String spaceId) {
          log.debug("deleteSpaceSync(" + spaceId + ")");
          throwIfSpaceNotExist(spaceId);
  
          Map<String, String> allProps = getAllSpaceProperties(spaceId);
          allProps.put("is-delete", "true");
          doSetSpaceProperties(spaceId, allProps);
  
          SpaceDeleteWorker deleteWorker = getSpaceDeleteWorker(spaceId);
          deleteWorker.run();
      }
docs: This method is only intended to be used by tests!
  
  @param spaceId