This command kills the heir of the specified country.
kill_heir [country tag]
Search Our Database of 304 EU4 Console Commands
The above cheat would kill the heir to the throne in your current country.
This command would kill the heir to the throne in France (because France's country tag is FRA).