Skip to main content

Delete Scheduled Post

Overview

The Delete Scheduled Post endpoint allows you to delete a scheduled post that has not yet been published. This is useful for removing posts from your queue before they go live.

Base URL:

https://www.oneupapp.io

Endpoint

POST /api/deletescheduledpost

Request Parameters

ParameterRequiredDescription
apiKeyYesYour personal API key generated from the API Access page.
post_idYesThe ID of the scheduled post to delete. You can find the post_id from the List Scheduled Posts endpoint.

Sample Request

curl --location --request POST \
"https://www.oneupapp.io/api/deletescheduledpost" \
--data-urlencode "apiKey=YOUR_API_KEY" \
--data-urlencode "post_id=123456"

Sample Response

{
"message": "Post deleted successfully.",
"error": false,
"data": []
}

Tips & Notes

  • Only scheduled posts can be deleted. Published or failed posts cannot be removed via this endpoint.
  • Use the List Scheduled Posts endpoint to retrieve the post_id of the post you want to delete.

Result: You have successfully deleted a scheduled post!