Cancel a post
cancel_postCancel a post that has not gone out yet (scheduled, draft or failed) and delete it, so nothing is published. THIS DELETES THE POST — confirm with the person first. To change a post's text, media or time instead, use update_post. It refuses a post that is published or publishing, because those are already live on the platforms and deleting the record here would not take them down. It also refuses a post that belongs to a running hook test, because Lab would schedule a replacement; stop the test in the app instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | The post id from list_posts or schedule_post. With or without dashes. |