37 lines
863 B
Markdown
37 lines
863 B
Markdown
# `DELETE /subagentschedule/{id}`
|
|
|
|
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
|
|
|
Delete subagent schedule
|
|
|
|
Deletes a subagent schedule for the selected company.
|
|
|
|
## Path parameters
|
|
|
|
| Param | Required | Type | Description |
|
|
|-------|----------|------|-------------|
|
|
| `id` | yes | integer | Schedule ID |
|
|
|
|
## Signals
|
|
|
|
On success, emits SSE signal: `subagentschedule` (see [`GET /events`](../events.md)).
|
|
|
|
## Response `204`
|
|
|
|
Schedule deleted successfully
|
|
|
|
_No content_
|
|
|
|
## Errors
|
|
|
|
| Status | Description |
|
|
|--------|-------------|
|
|
| 400 | Invalid ID or no company selected — `{"error":"…"}` |
|
|
| 401 | Unauthorized — `{"error":"…"}` |
|
|
| 403 | Not authorized — `{"error":"…"}` |
|
|
| 404 | Subagent schedule not found — `{"error":"…"}` |
|
|
|
|
---
|
|
|
|
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._
|