---
title: "Update a page"
method: PATCH
path: "/v1/workspace/website/{website_id}/pages/{page_id}"
tags: ["Page Management"]
---

# Update a page

`PATCH /v1/workspace/website/{website_id}/pages/{page_id}`

## Request

- Base URL: `https://api.lindo.ai`
- URL: `https://api.lindo.ai/v1/workspace/website/{website_id}/pages/{page_id}`
- Auth: HTTP bearer

Updates a page using PATCH semantics. Accepts lang_code (e.g., 'en', 'es') for language and converts to display format for storage. Undefined fields are not modified, null clears the field.

## Path parameters

- `website_id` string, required: Unique identifier of the website
- `page_id` string, required: Unique identifier of the page

## Request body

- PageUpdateRequest
  - `name` string, nullable: Name of the page
  - `path` string, nullable: URL path of the page
  - `seo` object, nullable: SEO metadata for the page
  - `settings` object, nullable: Page settings configuration
  - `data` object, nullable: Page data and content
  - `language` string, nullable: Language code (e.g., 'en', 'es', 'fr'). Converted to display format for storage.

## Response `200`

Page updated successfully

- PageUpdateResponse
  - `success` true, required: Indicates the operation was successful
  - `result` PageUpdateResult, required
    - `message` string, required: Success message
    - `page_id` string, required: Unique identifier of the updated page
    - `name` string: Updated name of the page
    - `path` string: Updated URL path of the page
    - `language` string, nullable: Language code of the page

## Other responses

- `400`: Bad request - validation error or invalid language code
- `401`: Unauthorized - invalid or missing API key
- `404`: Page not found
- `500`: Internal server error

---

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