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"
}
Archive a published blog post, removing it from the public blog.
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"
}
published status.{
"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"