code: def remove(self, id):
          
  
          # find prefix
          c.prefix = Prefix.get(int(id))
  
          if 'confirmed' not in request.params:
              return render('/prefix_remove_confirm.html')
  
          c.prefix.remove()
          redirect(url(controller='prefix', action='list'))
docs: Remove a prefix.