logo
Schedulin Developers

For AI agents: a documentation index is available at /llms.txt. Every guide and example is also available as markdown by adding .md to its URL.

Delete a post

Use DELETE /v0/posts/{id} to remove a post. Deleting a scheduled post cancels it before it publishes.

curl -X DELETE https://api.schedulin.app/v0/posts/post_789 \
  -H "x-api-key: $SCHEDULIN_API_KEY"
import { SchedulinClient } from "@schedulin/sdk";

const client = new SchedulinClient({ apiKey: process.env.SCHEDULIN_API_KEY! });

await client.posts.delete({ id: "post_789" });
import os

from schedulin import Schedulin

client = Schedulin(api_key=os.environ["SCHEDULIN_API_KEY"])

client.posts.delete("post_789")
WARNING
Deletes are permanent. Deleting a post that has already been published removes it from Schedulin only — it is deleted from the social platform and stays live there. Remove it on the platform itself if you need it gone.