How i delete amiibo data?

I just download a amiibo of Mario (SM) and i want to use it but the game says me ‘‘This amiibo have data of another game’’
How i delete data?

Game: Mario & Luigi: Paper Jam Bros.

Currently writing and delete data from Amiibos is not possible. You need to do this on your New 2DS or New 3DS (XL) or on your Switch.