Skip to main content
DELETE
/
api
/
calendar
/
posts
/
{postId}
Soft-delete a single social post
curl --request DELETE \
  --url https://app.puffle.ai/api/calendar/posts/{postId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Overview

Archive a post by path-param id. Clears late_post_id so Late stops publishing, sets archived_at = now(), and resets status back to draft. Already-posted posts cannot be archived.

AI agent notes

Reversible via restoreSocialPost. For irreversible deletion, first call this, then permanentDeleteSocialPost.Safety — if the post was scheduled with late_post_id, archiving cancels Late’s in-flight publish. Confirm with the human before archiving any scheduled post.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

postId
string<uuid>
required

Post UUID. Must belong to the caller's calendar.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Post archived.

success
enum<boolean>
required
Available options:
true