Delete Post
Deletes a post and cancels any scheduled publishing. This action cannot be undone.
Request
The ID of the post to delete
curl -X DELETE "https://postsyncer.com/api/v1/posts/123" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Response
Success message confirming the post was deleted
{
"message": "Post deleted successfully"
}
Code Examples
curl -X DELETE "https://postsyncer.com/api/v1/posts/123" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Error Codes
Missing or invalid API token
Token does not have ‘posts’ permission
Post not found or user does not have access to the post’s workspace