cliDeterministic
Unschedule post
pipeline unschedule-post
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
CLI commandbash
pipeline unschedule-post \--post-id "00000000-0000-4000-8000-000000000000"
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"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.