code: public boolean deleteEntityGroup(EntityGroup entityGroup) {
          String entityGroupName = entityGroup.getName();
          checkEntityGroupIsEmpty(entityGroupName);
          QueryPart<EntityGroup> query = new Query<EntityGroup>("entity-groups")
                  .path(entityGroupName, true);
          return httpClientManager.updateMetaData(query, delete());
      }
docs: Delete entity group
  
  @param entityGroup entity group
  @return is success