List and read
GET /api/schedules— paginated list.?q=searches, and?scanType=filters by type.GET /api/schedules/{id}— one schedule.
Create by triggering
POST /api/schedules triggers a scheduled scan now:
400 for a disabled schedule and 404 for an unknown id.
Edit and pause
PUT /api/schedules/{id}— partial update. Change the cron expression, the interval, or the scan type.PATCH /api/schedules/{id}/toggle— pause or resume. A paused schedule keeps its config and skips its runs.DELETE /api/schedules/{id}— delete the schedule. Past scan rows stay.
scheduleType: "recurring" manage their own schedule
row. You can also reach that row through PATCH /api/scans/{id}/toggle.
