unpublish
Remove a published post from the target platform with a best-effort delete request. Sends an HTTP DELETE or update to retract live content.
Instructions
Best-effort delete of a published post on the target platform. Side effects: makes an external HTTP DELETE or update request; DEV.to sets published=false (soft delete); platforms without a delete API return success=false without error. Non-idempotent — calling on an already-deleted URL may return a platform 404. Use unpublish to retract a live post; use status first to obtain the live_url; use publish to re-publish after an unpublish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live_url | Yes | URL of the live published post to retract, e.g. 'https://dev.to/user/post-slug'. | |
| channel | Yes | Channel slug the post was published to, e.g. 'devto', 'hashnode', 'reddit:ClaudeAI'. |