Skip to Content
EmbedEmbed APISchedule PostDelete a Scheduled Post

Delete a scheduled post

DELETE /schedule/:id

Deletes a scheduled post and all of its related rows (content rows and account rows) from the workspace attached to your API key.

Authentication

embed-api-key: <YOUR_EMBED_API_KEY> header required. See auth.

Path parameters

ParamRequiredDescription
idyesScheduled post id

Example request

curl -X DELETE "https://embed-api.postnitro.ai/schedule/post_123" \ -H "embed-api-key: $EMBED_API_KEY"

Response 200

{ "success": true, "message": "Scheduled post deleted", "data": { "message": "Post deleted successfully" } }

Errors

StatusBodyWhen
401 / 402see authAuth / plan failure
422{ "status": false, "message": "Post id is required" }id missing
404{ "success": false, "message": "Post details not found.", "error": ... }No matching post in your workspace
upstream{ "success": false, "message": "Error deleting post", "error": ... }DB delete failed
Last updated on