code: public boolean deleteGroupEntities(String entityGroupName, Entity... entities) {
          checkEntityGroupIsEmpty(entityGroupName);
          List<String> entitiesNames = new ArrayList<>();
          for (Entity entity : entities) {
              entitiesNames.add(entity.getName());
          }
          QueryPart<Entity> query = new Query<Entity>("entity-groups")
                  .path(entityGroupName, true)
                  .path("entities/delete");
          return httpClientManager.updateMetaData(query, post(entitiesNames));
      }
docs: Delete entities from entity group.
  
  @param entityGroupName Entity group name.
  @param entities        Entities to replace.  @return {@code true} if entities added.
  @return is success
  @throws AtsdClientException raised if there is any client problem
  @throws AtsdServerException raised if there is any server problem