Write

Move scheduled post to drafts

Moves a scheduled post that has not been sent back to Drafts and clears its schedule time, like "Move to draft" on the PostPen calendar. It does not delete the post and does not call LinkedIn. Refused unless confirm is true. Published posts cannot be unscheduled.

post/unschedule_post

Request

  • Base URL: https://pdb.postpen.ai/functions/v1/agent-api
  • URL: https://pdb.postpen.ai/functions/v1/agent-api/unschedule_post
  • Auth: HTTP bearer

Request body

idstring required

Id of the scheduled post, from list_posts status scheduled.

confirmboolean required

Must be true. Clears the schedule and leaves a draft.

Response

Success. JSON object; never contains LinkedIn tokens.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.