Skip to main content
DELETE
/
blogs
/
{id}
Delete a blog post
curl --request DELETE \
  --url https://api.salesive.com/api/v1/blogs/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Blog deleted successfully",
  "data": null
}
Soft-deletes a blog post so it is hidden from all reads; returns an error if it is not found. The store is bound to your app token server-side — never send a shop id.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Path Parameters

id
string
required

The blog post's unique id.

Response

The blog post was soft-deleted.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required

HTTP status code, echoed in the body.

success
boolean
required

Whether the request succeeded.

message
string
required

Human-readable result message.

data
any

Operation-specific payload (object, array, or null).