code: func (s *HTTPServer) SessionDestroy(resp http.ResponseWriter, req *http.Request) (interface{}, error) {
  	args := structs.SessionRequest{
  		Op: structs.SessionDestroy,
  	}
  	s.parseDC(req, &args.Datacenter)
  	s.parseToken(req, &args.Token)
  
  	// Pull out the session id
  	args.Session.ID = strings.TrimPrefix(req.URL.Path, "/v1/session/destroy/")
  	if args.Session.ID == "" {
  		resp.WriteHeader(http.StatusBadRequest)
  		fmt.Fprint(resp, "Missing session")
  		return nil, nil
  	}
  
  	var out string
  	if err := s.agent.RPC("Session.Apply", &args, &out); err != nil {
  		return nil, err
  	}
  	return true, nil
  }
docs: // SessionDestroy is used to destroy an existing session