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

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 Article

Permanently deletes an article. This action cannot be undone.

Request

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

Path Parameters

blog_id
string
required
The unique blog ID
id
string
required
The unique article ID to delete

Response

success
boolean
Whether the request succeeded
data
object
Confirmation object

Example Response

{
  "success": true,
  "data": {
    "id": "art_xyz789",
    "deleted": true
  }
}

Notes

  • All comments on the article will also be deleted
  • The article’s featured image will be removed from storage
  • Consider setting published: false instead if you may want to restore the article later

Error Codes

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