Skip to content

Unpublish post

Deletes a published post from the specified platform. The post record in Zernio is kept but its status is updated to cancelled. Not supported on Instagram, TikTok, or Snapchat. Threaded posts delete all items. YouTube deletion is permanent.

POST /v1/posts/{postId}/unpublish

Deletes a published post from the specified platform. The post record in Zernio is kept but its status is updated to cancelled. Not supported on Instagram, TikTok, or Snapchat. Threaded posts delete all items. YouTube deletion is permanent.

Parameters

  • postId (path, string) required

Request body

Content-Type: application/json

  • platform (string) required (enum: threads, facebook, twitter, linkedin, youtube, pinterest, reddit, bluesky, googlebusiness, telegram) — The platform to delete the post from

Example:

json

{
  "platform": "threads"
}

Responses

200 — Post deleted from platform

  • success (boolean)
  • message (string)

400 — Invalid request: platform not supported for deletion, post not on that platform, not published, no platform post ID, or no access token.

401

403 — Forbidden

404

500 — Platform API deletion failed