Swap/Replace/Set Tiles of Tilemap

Hi,

I am trying to swap my tiles (or tile palette) out at run time.
I have a ScriptableObject that contains a list of TileBases.
Now I want to replace the tiles of my tilemap with the tiles specified in the ScriptableObject.

I tried many things already and looked into the Tilemap API, but besides SwapTile, which did work at all for me, I could not find anything helpful.

If anyone has an idea, I would really appreciate your input.
Thank you!

Maybe this?