How to delete all tiles in an chosen area?

Hello! i’m working on a 2d platformer based on Tilemap system and I’m at that point where I got stucked. I want to delete some tile, at a certain position, something like 15 tiles, via script. Is that possible?

Of course, if you know their location.
Inside the editor, you can add the locations of the tiles or add them via script then call eraseTiles() and it should delete them (Set Them To Reference Nothing)

using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Tilemaps;

public class TileEraserController : Monobehavior
    public List<Vector3Int> tilesToErase;
    public Tilemap myTilemap;

    public void eraseTiles()
        for (int i = 0; i < tilesToErase.Count; i++)
            myTilemap.SetTile(tilesToErase*, null);*



Yes you can set Tile to null:
tilemap.SetTile(position, null);
this deletes the tile at position

i cant seem to get the tile in question… doing the null thing but how do i get the tiles exact location?
I have a script which triggers when im colliding with the tile (so i can get all the needed info out of that tile)
But i cant set it to null? Any ideas?