Blog Management

Delete a blog

Permanently deletes a blog. If the blog was published, also removes the HTML file from storage and purges the cache.

delete/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

Response

Blog deleted successfully

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "message": "Blog deleted successfully",
    "blog_id": "blog_abc123",
    "warnings": [
      "R2 file removal failed: File not found"
    ]
  }
}

Changes

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