logo
Schedulin Developers

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: sk_live_..."
import { SchedulinClient } from "@schedulin/sdk";

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

await client.posts.delete({ id: "post_789" });
from schedulin import Schedulin

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

client.posts.delete(id="post_789")
WARNING
Deletes are permanent. A post that has already been published is removed from Schedulin but is deleted from the social platform.