Skip to main content
PATCH
/
v1
/
workspace
/
website
/
{website_id}
/
pages
/
{page_id}
Update a page
curl --request PATCH \
  --url https://apidev.lindo.ai/v1/workspace/website/{website_id}/pages/{page_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Home Page",
  "path": "/home",
  "seo": {
    "title": "Welcome",
    "description": "Our home page"
  },
  "settings": {
    "layout": "full-width"
  },
  "data": {
    "sections": []
  },
  "language": "en"
}
'
{
  "success": true,
  "result": {
    "message": "Page updated successfully",
    "page_id": "page_abc123",
    "name": "Home Page",
    "path": "/home",
    "language": "en"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Path Parameters

website_id
string
required

Unique identifier of the website

Example:

"ws_abc123"

page_id
string
required

Unique identifier of the page

Example:

"page_abc123"

Body

application/json
name
string | null

Name of the page

Example:

"Home Page"

path
string | null

URL path of the page

Example:

"/home"

seo
object

SEO metadata for the page

Example:
{
"title": "Welcome",
"description": "Our home page"
}
settings
object

Page settings configuration

Example:
{ "layout": "full-width" }
data
object

Page data and content

Example:
{ "sections": [] }
language
string | null

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

Example:

"en"

Response

Page updated successfully

success
enum<boolean>
required

Indicates the operation was successful

Available options:
true,
false
Example:

true

result
object
required