Tasks
Archive Task
Archive a task (soft delete).
Required Role: OPERATOR, ADMIN, or OWNER
Archived tasks:
- Stop running on schedule
- Are hidden from default task lists (filter with status=archived to view)
- Retain execution history
- CANNOT be enabled (must create a new task)
Use Case: Deprecate old tasks while preserving audit trail.
Status Transitions:
- ENABLED → ARCHIVED ✅
- DISABLED → ARCHIVED ✅
- ARCHIVED → ARCHIVED ❌ (error)
POST
Archive Task
Authorizations
Response
Successful Response
Full task response with rclone config (for CRUD and detail endpoints).