Skip to main content
DELETE
/
api
/
v1
/
blogs
/
:id.json
Delete Blog
curl --request DELETE \
  --url https://api.launchmystore.io/api/v1/blogs/:id.json \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "deleted": true,
    "articles_deleted": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt

Use this file to discover all available pages before exploring further.

Delete Blog

Permanently deletes a blog and all its articles. This action cannot be undone.

Request

curl -X DELETE "https://api.launchmystore.io/api/v1/blogs/blog_abc123.json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Path Parameters

id
string
required
The unique blog ID to delete

Response

success
boolean
Whether the request succeeded
data
object
Confirmation object

Example Response

{
  "success": true,
  "data": {
    "id": "blog_abc123",
    "deleted": true,
    "articles_deleted": 24
  }
}

Notes

  • All articles within the blog will be permanently deleted
  • Comments on those articles will also be deleted
  • Navigation menu links pointing to this blog will become broken
  • Consider exporting articles before deletion if you need to preserve content

Error Codes

CodeDescription
UNAUTHORIZEDInvalid or missing access token
FORBIDDENApp doesn’t have write_content scope
NOT_FOUNDBlog with the specified ID does not exist