Delete & cancel a post
Cancel a scheduled post by deleting it from the queue and database. Only posts that are scheduled (not yet published) willbe cancelled from the publishing queue. Otherwise it will only be deleted from the database.
curl -X DELETE "https://api.outstand.so/v1/posts/string"{
"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"
}