--- title: remove - --- //[KSpigot](../../index.md)/[net.axay.kspigot.data](../index.md)/[NBTData](index.md)/[remove](remove.md) # remove [jvm] Brief description This method removes the given key from the NBTTagCompound. Its value will be lost. Content fun [remove](remove.md)(key: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))