---
title: "Update"
method: PATCH
path: "/workspaces/{wid}/saved-schemas/{sid}"
tags: ["saved-schemas"]
---

# Update

`PATCH /workspaces/{wid}/saved-schemas/{sid}`

## Request

- Base URL: `https://app.linerecon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.linerecon.com/workspaces/{wid}/saved-schemas/{sid}`
- Auth: none declared

## Path parameters

- `wid` string, uuid, required
- `sid` string, uuid, required

## Request body

- SavedSchemaChange: B11: rename and/or archive a template. The catalog row changes; versions never do.
  - `request_id` string, uuid, required
  - `base_revision` integer, required
  - `name` string, nullable
  - `archived` boolean, nullable

## Response `200`

Successful Response

- SavedSummary
  - `id` string, uuid, required
  - `name` string, required
  - `created_by` string, uuid, nullable, required
  - `created_at` string, date-time, required
  - `latest_version` integer, required
  - `latest_version_id` string, uuid, required
  - `revision` integer
  - `archived_at` string, date-time, nullable
  - `archived_by` string, uuid, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `413`: Content Too Large
- `422`: Unprocessable Content
- `429`: Too Many Requests
- `503`: Service Unavailable

---

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