---
title: "Delete a blog"
method: DELETE
path: "/v1/workspace/website/{website_id}/blogs/{blog_id}"
tags: ["Blog Management"]
---

# Delete a blog

`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

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

## Path parameters

- `website_id` string, required: Unique identifier of the website
- `blog_id` string, required: Unique identifier of the blog

## Response `200`

Blog deleted successfully

- BlogDeleteResponse
  - `success` true, required: Indicates the operation was successful
  - `result` BlogDeleteResult, required
    - `message` string, required: Success message
    - `blog_id` string, required: Unique identifier of the deleted blog
    - `warnings` string[]: Warnings for partial failures (e.g., R2 file removal or cache purge failures)

## Other responses

- `401`: Unauthorized - invalid or missing API key
- `404`: Blog 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)
