---
title: "Update a Saved Search Query"
method: PUT
path: "/api/v1/saved_search_queries/{id}"
tags: ["Saved Search Queries"]
---

# Update a Saved Search Query

`PUT /api/v1/saved_search_queries/{id}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/saved_search_queries/{id}`
- Auth: `bearer_auth` (a scheme the document does not define)

## Request body

- object
  - `ss` object
    - `query_name` string
    - `category` string
    - `pinned` boolean

## Response `200`

saved search updated

## Other responses

- `422`: validation error

---

[API](https://skmtc.dev/aeroleads/apis/api-v1.md) · [All operations](https://skmtc.dev/aeroleads/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/aeroleads/apis/api-v1/revisions/f903ee7ec7fa?raw)
