---
title: "Update a landing page (blocks, theme, slug) — edits never delete anything"
method: PATCH
path: "/api/pages/{id}"
---

# Update a landing page (blocks, theme, slug) — edits never delete anything

`PATCH /api/pages/{id}`

## Request

- Base URL: `https://app.whooshly.co`
- URL: `https://app.whooshly.co/api/pages/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `fields` object
  - `slug` string
  - `theme` object

## Response `200`

Updated

## Other responses

- `404`: Error — `error` is a stable code. Common: core_locked (account hasn't purchased — buy at the app), pro_required (feature needs Pro), slug_taken, limit_reached, not_found, rate_limited, invalid (see issues).
- `409`: Error — `error` is a stable code. Common: core_locked (account hasn't purchased — buy at the app), pro_required (feature needs Pro), slug_taken, limit_reached, not_found, rate_limited, invalid (see issues).

---

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