# `DELETE /quote/{id}/file/{fileId}` Protected. Requires a valid session cookie (`credentials: 'include'`). Delete quote file attachment Removes a file attachment from the quote and deletes the underlying file. ## Path parameters | Param | Required | Type | Description | |-------|----------|------|-------------| | `id` | yes | integer | Quote ID | | `fileId` | yes | integer | File ID or attachment ID | ## Signals On success, emits SSE signal: `quote` (see [`GET /events`](../events.md)). ## Response `204` Attachment deleted _No content_ ## Errors | Status | Description | |--------|-------------| | 400 | Invalid parameters or no company selected — `{"error":"…"}` | | 401 | Unauthorized — `{"error":"…"}` | | 403 | Not authorized — `{"error":"…"}` | | 404 | Quote or attachment not found — `{"error":"…"}` | --- _Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._