apiDeterministic
Unschedule post
DELETE /api/content/posts/{postId}/publish
Cancel scheduled publication and move the LinkedIn post back to draft. Cannot cancel publication that has already started or finished. Does not delete the draft or publish anything.
Parameters
workspaceId
string
No description.
postIdrequired
string
The scheduled content post ID.
Example
REST requestbash
curl -X DELETE "https://app.pipeline.help/api/content/posts/00000000-0000-4000-8000-000000000000/publish" \-H "Authorization: Bearer $PIPELINE_API_KEY"
Response
Success response schemajson schema
{"type": "object","properties": {"success": {"type": "boolean"},"data": {"type": "object","properties": {"id": {"type": "string"},"status": {"type": "string","enum": ["draft"]},"scheduledAt": {"type": ["string","null"]}},"required": ["id","status"]},"message": {"type": "string"}},"required": ["success","data","message"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.