code: public boolean createOrReplaceEntity(Entity entity) {
          String entityName = entity.getName();
          checkEntityIsEmpty(entityName);
          QueryPart<Entity> queryPart = new Query<Entity>("entities")
                  .path(entityName, true);
          return httpClientManager.updateMetaData(queryPart, put(entity));
      }
docs: Create or replace
  
  @param entity entity
  @return is success