Posts

Cancel a queued scheduled post

Cancel a scheduled post before it fires. Only allowed when status=queued AND scheduledAt is still in the future — same window as PATCH. Removes the BullMQ job and transitions the row to status=canceled. A post.canceled webhook fires on success.

If a worker is already processing the job when cancellation lands, the worker's conditional UPDATE … WHERE status IN ('queued','validated') short-circuits and the publish never happens.

delete/v1/posts/{id}

Request

  • Base URL: https://api.letmepost.dev
  • URL: https://api.letmepost.dev/v1/posts/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Cancellation applied.

idstring required
status'canceled' required

Changes

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