---
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/isEMaAJpsRN0A6Bin5IgxZN17VZ7GwDosClxYulhiIZknLiCfrvw5F680vQrv2QFdgnS6e74z3PvZB0RTUzrAAHxtL4sqK5pDHVzGU0opIVgG83NKIGbsvcAKexMyVE1KYZFIzGFXVLjVq5dDAHQ+v6KmiDda8UX6JKqqQD6fCRaS3ylLlcydFnqyTKel/aKA3G5WC9GXNMqDk+Fuz+Pci5y2h8+PyXiMpSCDYT0IbTBGGdyeWc1hHls2nOaVzhI9jU5BqXRFdfNIV7Z9i0De6L6oLNQHxTjD3ugenB4dHXmN6KrwrOQaEFczAdpvmLdnUnUbPPkDoaUZc7VKdjtgD+ewlmeQ7WHet8X5cusMYKjSqDvLUOH05HrzFkvZc25PaClrOB5HZFYSviHtlGAL8pDoI0btfrvEaB1UraUJGHT59+Rz0bsKVw/9f5D1znGxarld9n+D/dAxsRnDooSJoxOQeOkJ59V50XYC2bw2BzeJDwVfo6Q/qKcdJsIjE5lQsmck56NEQbtcg5BrsJZmAbsBw8LpYLyUqXKZP/DTwmx6XLQLpmfdLNmy1AhoYBybPHRfJBOXKtSsljMsmgJRmQbqtKkwLhCiyRyhG4z5H+TVCdD4/o8PCxc6ONSvF1JoBgXtwyJn9guYX8gDHKbMNxokrBPdTGQ2ONSz1/7PY5lQ6MZIJYMAswAUVMjiUpJdxrSDFpXkhUmpbmgQJ8g0OsoyCiFtLSIEY8KX6+czS+vMLjnmNzPD1SnJcI4iqi93up4jD2sYWTpWASx2F6cf5+MNSa11A++F4aQfb+ImcXE5LQzDkdj0ZCpUxkyrr46OnR0YjpfLQ4GFkc0dNbnNGjg4SSJEkkIXtvSUKPm77xhMfkFTADhvx0fHLyejyeTj7++vrDqsFJSNXeZKkhJuvZ6nU5eVIl9AaWCY1JQhdMlJDQ+gmtow7h2dJlSg4wdoIOZV5oZVzbQDaRiWzPGeRlJ8YtZweXJf+SiigYZcA4GPuyWiMkxN6QklDyM2EpVvDUqRuQdWONwF9uA5vI3URqk0u30wa9j8o7u7tDGt6xBRv7YhpQsSLsk66kRTY6Btgdyx25BpdmnoBvgF8FFAW4THEM/+xiss5M3GqR9ZpBxJ/asqkCPRPPzqeoNxlWTeBos3KCdkvqTPFlTN6NP37YD02dXy93KnIDywHDpN5FbST6RSIDOZw51hGzRnujpATsCzXfQdXdFxQbc20/0Zw5IIx4vojni0Y0UIQXvRKz4i9/Md3GbaVvasybHyqhq0uDad2aHbq+/nv8TDgsQChdgHTNePJVExxV2iinUiXqeDSq0FUdV9gr9Ya3k9I6VbQuIrpgJscpbpuJ6t3gM4dr5k9lPkw8ZsmywHHVvOKPn1mr/t9OJmek81NHFKNZ9dfh3QhuHOYufsNbNFGGnJ6hE8Sy6mQrVY291679lbqdvWPcNQJIP4ErOvNl+kaZgqG/d39O2jMi9lb4Srudw4OuIzSeGrg2YLNvdYJerJLn/WX/9Q9xCYxoLq9VyMIK6aUGY2HlGtCLsOSD3uIgZNK6goW7U/ij5IH+WruXNRQ6uHcjLVgu0Zmv/qrpvUvKdI4rHiCyvv9oRGN9g5UaSvGSVtWMWbgwoq5RHLTiy6u+G3yT8tyfbziNr5mwsBFSd1ChO+fNeXSX9NleDbURMrn0TSdKfKMR7hPhz6L6CpvFT1i/evgwnJUDw42DEc6CYHGcpuD3iYd1rwbT6+wCS3bW/OVUKI4mht3hpZ7dhRiVhxwu4ygLm1UZDk3BJVY1HrsHqeqqv3lAUFtZqKqgEXaKuiPF76vIS13/A28+siI=
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>
