Page Management

Update a page

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.

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

Path parameters

website_idstring required

Unique identifier of the website

Example:ws_abc123
page_idstring required

Unique identifier of the page

Example:page_abc123

Request body

namestring nullable

Name of the page

pathstring nullable

URL path of the page

seoobject nullable

SEO metadata for the page

settingsobject nullable

Page settings configuration

dataobject nullable

Page data and content

languagestring nullable

Language code (e.g., 'en', 'es', 'fr'). Converted to display format for storage.

Example request

{
  "name": "Home Page",
  "path": "/home",
  "seo": {
    "title": "Welcome",
    "description": "Our home page"
  },
  "settings": {
    "layout": "full-width"
  },
  "data": {
    "sections": []
  },
  "language": "en"
}

Response

Page updated successfully

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "message": "Page updated successfully",
    "page_id": "page_abc123",
    "name": "Home Page",
    "path": "/home",
    "language": "en"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.