Delete & cancel a post
Cancel a scheduled post by removing it from the publishing queue and deleting it from the database. If the post is scheduled (not yet published), the publishing task is cancelled first, then the post record is removed. If the post was already published, it is only deleted from the Outstand database — the published content remains on the social media platforms. This action cannot be undone.
fetch("https://api.outstand.so/v1/posts/string", { method: "DELETE"}){
"success": true,
"message": "Post cancelled and deleted successfully"
}{
"success": false,
"error": "Invalid payload",
"details": {
"content": {
"_errors": [
"Required"
]
}
}
}{
"success": false,
"error": "Invalid payload",
"details": {
"content": {
"_errors": [
"Required"
]
}
}
}{
"success": false,
"error": "Internal server error",
"message": "Database connection failed"
}