779 B
779 B
DELETE /agentprinter/{id}
Protected. Requires a valid session cookie (credentials: 'include').
Delete agent printer
Deletes an agent printer from the selected company.
Path parameters
| Param | Required | Type | Description |
|---|---|---|---|
id |
yes | integer |
Signals
On success, emits SSE signal: agentprinter (see GET /events).
Response 204
Agent printer deleted
No content
Errors
| Status | Description |
|---|---|
| 400 | Invalid ID or no company selected — {"error":"…"} |
| 401 | Unauthorized — {"error":"…"} |
| 404 | Agent printer not found — {"error":"…"} |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.