---
title: "Remove a brief attachment"
method: DELETE
path: "/v1/intakes/{id}/brief/files/{fileId}"
tags: ["Intakes"]
---

# Remove a brief attachment

`DELETE /v1/intakes/{id}/brief/files/{fileId}`

## Request

- Base URL: `https://api.briefgate.dev`
- URL: `https://api.briefgate.dev/v1/intakes/{id}/brief/files/{fileId}`
- Auth: HTTP bearer

Deletes the object and its row, and releases its bytes from the storage quota.

## Path parameters

- `id` string, required
- `fileId` string, required

## Response `204`

File deleted

## Other responses

- `401`: Missing or invalid API key
- `403`: Authenticated but not allowed to perform this action
- `404`: Resource not found
- `409`: Intake is archived (`intake_archived`)

---

[API](https://skmtc.dev/briefgate/apis/briefgate-api.md) · [All operations](https://skmtc.dev/briefgate/apis/briefgate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/briefgate/apis/briefgate-api/revisions/b21afed4748b?raw)
