Skip to main content
Scheduling

Cancel Scheduled

Cancel a scheduled post and move it back to draft.

Endpoint

DELETE https://api.postpeer.dev/v1/posts/scheduled/{postId}

Path Parameters

ParameterTypeDescription
postIdstringThe scheduled post ID to cancel

Example

curl -X DELETE "https://api.postpeer.dev/v1/posts/scheduled/post_xyz789" \
  -H "x-access-key: YOUR_API_KEY"

Response

{
  "success": true,
  "message": "Post cancelled and moved to draft."
}

Status Codes

CodeMeaning
200Successfully cancelled
404Post not found
409Post already published

On this page