Media

Erase an uploaded file and its previews

Owner-scoped, irreversible erasure. First GET /v1/media/{id}/deletion, then send its snapshot. Blocks drafts, approval requests, queued/scheduled/processing targets, concurrent publication and more than 200 references. Replace/remove their media or cancel/reject those posts first. Terminal social posts remain online, but PostLake previews disappear. No publishing-credit refund. Storage failures retain a retryable deletion receipt. This overrides the minimum retention only at the owner's instruction. Does not erase external URLs or copies held independently by social networks.

delete/v1/media/{id}

Request

  • Base URL: https://api.postlake.dev
  • URL: https://api.postlake.dev/v1/media/{id}
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

idstring required

Request body

snapshotstring required

Response

Original and stored previews removed; repeated completion returns the same receipt

idstring
deletedboolean
deletesSocialPostsboolean
cancelsSchedulesboolean
refundsPublishingCreditsboolean

Changes

No recorded changes to this operation across all 1 revision of this API.