Delete Failed Post
Overview
The Delete Failed Post endpoint allows you to delete a post that failed to publish. This is useful for clearing out failed posts that you do not plan to retry.
Base URL:
https://www.oneupapp.io
Endpoint
POST /api/deletefailedpost
Request Parameters
| Parameter | Required | Description |
|---|---|---|
apiKey | Yes | Your personal API key generated from the API Access page. |
post_id | Yes | The ID of the failed post to delete. You can find the post_id from the List Failed Posts endpoint. |
Sample Request
curl --location --request POST \
"https://www.oneupapp.io/api/deletefailedpost" \
--data-urlencode "apiKey=YOUR_API_KEY" \
--data-urlencode "post_id=987654"
Sample Response
{
"message": "Post deleted.",
"error": false,
"data": []
}
Tips & Notes
- Only failed posts can be deleted using this endpoint. To delete a post that has not been published yet, use the Delete Scheduled Post endpoint.
- Use the List Failed Posts endpoint to retrieve the
post_idof the post you want to delete. - To retry a failed post instead of deleting it, use the Reschedule Failed Post endpoint.
✅ Result: You have successfully deleted a failed post!