---
title: "Unpublish post"
method: POST
path: "/v1/posts/{postId}/unpublish"
tags: ["Posts"]
---

# Unpublish post

`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.

## Path parameters

- `postId` string, required

## Request body

- object
  - `platform` 'threads' | 'facebook' | 'twitter' | 'linkedin' | 'youtube' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram', required — The platform to delete the post from

## Response `200`

Post deleted from platform

- object
  - `success` boolean
  - `message` string

## Other responses

- `400` — Invalid request: platform not supported for deletion, post not on that platform, not published, no platform post ID, or no access token.
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Resource not found
- `500` — Platform API deletion failed

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/versions/51932b099b2f/schema)
