public static base_response delete ( nitro_service client , location resource ) throws Exception { location deleteresource = new location ( ) ; deleteresource . ipfrom = resource . ipfrom ; deleteresource . ipto = resource . ipto ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete location .