CLI commands
ak content queue cancel
Cancel (remove) a scheduled post by ID
ak content queue cancel
Cancel (remove) a scheduled post by ID
Synopsis
What it does:
Remove a pending post from the queue by its ID. The ID is shown by ak content queue list. Only pending posts can be cancelled; already-published posts are ignored.
Who it's for: Both: power devs scripting content pipelines and non-technical users.
When to use it: When you want to prevent a scheduled post from firing.
Examples: ak content queue cancel abc123def456
What changes on disk: Writes ~/.agentkit/content/queue.json (atomic replacement).
Output modes: pretty default on TTY (colors, ASCII markers) plain auto when stdout piped or --no-interactive json --json (single-object envelope, NDJSON-safe)
Exit codes: 0 success 1 runtime error 2 invalid flags 3 user-cancel (SIGINT, prompt-cancel) 1 id not found or I/O error 2 missing argument
ak content queue cancel <id> [flags]Options
-h, --help help for cancel
--json Emit machine-readable JSON (implies --no-interactive)
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsSEE ALSO
- ak content queue - Manage the scheduled post queue