Skip to main content
DELETE
/
v1
/
platform
/
blog
/
posts
/
{id}
Delete blog post
curl --request DELETE \
  --url https://api.truthlocks.com/v1/platform/blog/posts/{id} \
  --header 'X-API-Key: <api-key>'
{
  "code": "AUTH_REQUIRED",
  "message": "Authentication required",
  "http_status": 401
}
Permanently deletes a blog post from the CMS. This action cannot be undone. If you may want to restore the post later, archive it instead.
Requires the content admin or super admin platform role.
Deleting a post is permanent and cannot be undone.

Parameters

id
string
required
The blog post ID.

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

id
string
required

Response

Post deleted