Unable to remove/change server key

i messed up making my server ip for my key and am unable to change/delete it. Nobody can join due to this

You don’t need to change or delete the key, you can reuse it on a different IP address with no issues.