Skip to main content
POST
/
v1
/
platform
/
blog
/
posts
/
{id}
/
archive
curl -X POST https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000/archive \
  -H "X-API-Key: tl_live_your_api_key"
{
  "id": "bp_660e8400-e29b-41d4-a716-446655440000",
  "title": "Introducing attestation batching",
  "slug": "introducing-attestation-batching",
  "category": "product",
  "status": "archived",
  "tags": ["attestations", "batch"],
  "excerpt": "Mint up to 100 attestations in a single API call.",
  "published_at": "2027-01-20T12:00:00Z",
  "created_at": "2027-01-19T10:00:00Z",
  "updated_at": "2027-01-22T08:00:00Z"
}
Archives a published blog post, removing it from the public blog. The post remains in the CMS and can be published again later. Use archive instead of delete when you may want to restore the post.
Requires the content admin or super admin platform role.

Parameters

id
string
required
The blog post ID. Must be a post in published status.

Responses

{
  "id": "bp_660e8400-e29b-41d4-a716-446655440000",
  "title": "Introducing attestation batching",
  "slug": "introducing-attestation-batching",
  "category": "product",
  "status": "archived",
  "tags": ["attestations", "batch"],
  "excerpt": "Mint up to 100 attestations in a single API call.",
  "published_at": "2027-01-20T12:00:00Z",
  "created_at": "2027-01-19T10:00:00Z",
  "updated_at": "2027-01-22T08:00:00Z"
}
curl -X POST https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000/archive \
  -H "X-API-Key: tl_live_your_api_key"