I've found the "Scripting With Terrain" page on the wiki, but it doesn't show whether i can delete some part of the terrain or not. All it shows is adding terrain.