public static base_response delete ( nitro_service client , route resource ) throws Exception { route deleteresource = new route ( ) ; deleteresource . network = resource . network ; deleteresource . netmask = resource . netmask ; deleteresource . gateway = resource . gateway ; deleteresource . td = resource . td ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete route .