GeoBoundary
GeoBoundary[g] returns the boundary line of the geo region g.
Examples
GeoBoundary[Entity["Country", "Germany"]]GeoGraphics[GeoBoundary[Entity["AdministrativeDivision", {"California", "UnitedStates"}]]]Please visit the official Wolfram Language Reference for more details.