Posts

Cancel only a scheduled post, with optional preview fencing

Never retracts a published post. Preview with dryRun=true, then apply with the returned snapshot to fence all stored fields. Execution uses a full-post compare-and-swap even when a snapshot is omitted.

post/v1/posts/{id}/cancel

Request

  • Base URL: https://api.postlake.dev
  • URL: https://api.postlake.dev/v1/posts/{id}/cancel
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

idstring required

Request body

dryRunboolean
snapshotstring

Response

Preview snapshot or scheduled post cancelled

idstring required
cancelledboolean required
dryRunboolean
snapshotstring

Changes

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