code: public void deleteSpace(String spaceId) {
          log.debug("deleteSpace(" + spaceId + ")");
          throwIfSpaceNotExist(spaceId);
  
          Map<String, String> allProps = getAllSpaceProperties(spaceId);
          allProps.put("is-delete", "true");
          doSetSpaceProperties(spaceId, allProps);
  
          SpaceDeleteWorker deleteThread = getSpaceDeleteWorker(spaceId);
          new Thread(deleteThread).start();
      }
docs: {@inheritDoc}