---
id: update-a-saved-query
title: "Update a saved query"
description: "Update a saved query"
sidebar_label: "Update a saved query"
hide_title: true
hide_table_of_contents: true
api: eJztWG1v2zYQ/isEMaAJpsRx0A6Bin5IghZN16VZ7GwDosClpbOlhiIZknLiCfrvw5F680vWLv2QYdgnW9Td8Z7nXnhUSRXTLAcL2tDwuqSZoCFVzKY0oILlgE+3NKAa7opMQ0JDqwsIqIlTyBkNS2qXCqUyYWEOmlbVjZcGY09kskSRWAoLwuJfphTPYmYzKQZfjBS41tlSWirQNgPj1JhlXM7xb84ePoKY25SGh69+CqgoOGdTDo07tRPG6kzMaRXQZDrJEtR8RLJ1N6AJmFhnCl36G4XONDxYzSaN818V52wK/EkYOl56qsPDo29RvePf5JyFXHFmYdJPg6/qVe2KnH6B2NKA2syiOB2xBSS/FqCXl2Dsscr2VWE9ayxXKNKLa2OwDddwLRqdQJ/0brXmtltoKOut3K0IbAXcAVtPB/qLTICT2ux6GVS4YJQUxifs4cHBd6S7BlNw+38Z/IfLYENjtTC6DPg3l8hGjZxZyEmcMjGHBBG9/K4yyMEYNofe0fIo36vstYr0hCWkPoJCciYWjGcJ6dAQpeUiS9DZTTA9XY9l+LxYrgQrbCp19ickITkubArC1vuTth1tAdJX9EhePi+Sc2nJTBYiCck4hYZkQLqNLHQMJJFgiJCWwEOG9G+Cam04RIeHzx0bpWWMj1MOBONilyH5DdPNxwe0lnobjlNZ8MRBrS3U2rjVq+cunzNhQQvGiQG9AO1RhORYkELAg4IYg+YWiYzjQj+SgO+wh7UUBNRAXGjEiHPml3tLw+sbHBYtm+PsSbFdIoibgD7sxTKBkfPNz6WcCeyG8dXlx15Tqx99+uBzoTnZ+4NcXI1JRFNrVTgYcBkznkpjw6ODo6MBU9lgMRwY7NCTO2zRg2FESRRFgpC99ySix3XdOMJDcgJMgyY/HJ+evh2NJuNPP789X1U49aHaGy8VhGQ9Wp1sQl6UEb2FZURDEtEF4wVEtHpBq6BFeLG0qRQ9jO1CizLLldS2KSATiUg0Ywh50y7jibOD25J/SEXglVJgCWjzplwjxPtekxJR8iNhMWbwxMpbEFWtjcDfbAMbid1IKJ0Ju9M4vY/CO7u7fRo+sAUbuWTqUbGy2AVdCoNstAywe5ZZMgMbp46AJ8AvPYocbCoTdP/iarzOTNhIkfWcQcSfm7QpPT1jx87noFPpZ43naDNzvHRD6lQmy5B8GH063/dFnc2WOyW5hWWPYVLtojQS/ToSnpyEWdYSs0Z7LSQ57HM530HR3dcUC3PtPFEJs0AYcXwRxxcNqKcIr4kFRsVdHUO6jdtS3VYYN9dUfFUXGsO6NTp0ff+P+JoksAAuVQ7C1u3JZY03VCotrYwlr8LBoERTVVhirVQb1k4LY2XemAjogukMu7ipO6ozg/8TmDE3lDk3ccwSRY7tqn7EH9ezVu2/H48vSGunCih6s2qvxbvh3Mj3XXyHd3AiNTm7QCOIZdXIVqpqfSdduQt503tHeGp4kK4Dl3Tq0vSd1DlDex9+HzczItaWf0vbk8OBrgJUnmiYaTDpU42gFSPFZfep4O23XBEPnnn+DWgmZtIHYYXzQoE2sHIJ6JYw473cYugDaWzO/M3Jf2V5pLzWbmU1gxYe7EBxlgk05pK/rEvvmjKV4Y5DRNaVHw1oqG4xUX0mXtOynDIDV5pXFS57qfD6pisGV6NJ5sabhIYzxg1suNTOKXTnsh5Hd0kX7FVX60Umlq7meIFPNMBjwn9pqm6wVlyDdbv7F/1W2VPcmIuwFXiN4zgGd0w8LnvTa14XV5ix0/p7VS4TVNHsHq/87N77KB1kf1XHNX9WFX5m8iYxqXHq7oWqTf76D4LaykJZegl/UFQtKe5YRV6q6i8+Z8Yi
sidebar_class_name: "put api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Update a saved query"}
>
</Heading>

<MethodEndpoint
  method={"put"}
  path={"/api/v1/saved_query/{pk}"}
  context={"endpoint"}
>

</MethodEndpoint>



Update a saved query

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./update-a-saved-query.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
  {...require("./update-a-saved-query.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./update-a-saved-query.StatusCodes.json")}
>

</StatusCodes>
