code: public static void deleteRTreeSpatialIndex(GeoPackageCore geoPackage,
  			String table) {
  
  		RTreeIndexCoreExtension rTreeIndexExtension = getRTreeIndexExtension(geoPackage);
  		if (rTreeIndexExtension.has(table)) {
  			rTreeIndexExtension.delete(table);
  		}
  
  	}
docs: Delete the RTree Spatial extension for the table
  
  @param geoPackage
  GeoPackage
  @param table
  table name
  @since 3.2.0