code: def remove_vrf(self, id):
          
  
          try:
              vrf = VRF.get(int(id))
              vrf.remove()
  
          except NipapError, e:
              return json.dumps({'error': 1, 'message': e.args, 'type': type(e).__name__})
  
          return json.dumps(vrf, cls=NipapJSONEncoder)
docs: Remove a VRF.