Skip to main content

cleo delete

Aliases: cancel Cancel/soft-delete a task with configurable child handling strategies
Agent Relevance: High - Frequently used by LLM agents

Synopsis

cleo delete TASK_ID [OPTIONS]

Options

OptionDescription
--reasonReason for operation (often required)
--childrenHandle child tasks
--limitLimit number of results
--dry-runPreview changes without applying
--forceForce operation without confirmation
--skip-reasonSkip reason requirement
--formatOutput format: text, json
--humanForce human-readable output
--jsonForce JSON output
--quietSuppress output, return only essential data
This command supports JSON output via --json flag for LLM agent integration.

Examples

cleo delete

Exit Codes

CodeMeaningRecoverable
0SuccessNo
2Invalid argumentsNo
4Resource not foundNo
6Validation errorNo
16Has children (use —children)No
17Task completed (use archive)No
102No change neededNo

See Also