Blog Management

Update a blog

Updates a blog 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}/blogs/{blog_id}

Request

  • Base URL: https://api.lindo.ai
  • URL: https://api.lindo.ai/v1/workspace/website/{website_id}/blogs/{blog_id}
  • Auth: HTTP bearer

Path parameters

website_idstring required

Unique identifier of the website

Example:ws_abc123
blog_idstring required

Unique identifier of the blog

Example:blog_abc123

Request body

namestring nullable

Name of the blog post

pathstring nullable

URL path of the blog post

seoobject nullable

SEO metadata for the blog post

blog_settingsobject nullable

Blog-specific settings configuration

dataobject nullable

Blog data and content

languagestring nullable

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

Example request

{
  "name": "Getting Started Guide",
  "path": "/blog/getting-started",
  "seo": {
    "title": "Getting Started",
    "description": "Learn how to get started"
  },
  "blog_settings": {
    "featured": true,
    "category": "tutorials"
  },
  "data": {
    "content": [],
    "author": "John Doe"
  },
  "language": "en"
}

Response

Blog updated successfully

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "message": "Blog updated successfully",
    "blog_id": "blog_abc123",
    "name": "Getting Started Guide",
    "path": "/blog/getting-started",
    "language": "en"
  }
}

Changes

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