> ## Documentation Index
> Fetch the complete documentation index at: https://docs.artaios.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove File from Collection

Remove a specific file from a collection.

<ParamField path="collection_id" type="string" required>
  The collection ID
</ParamField>

<ParamField path="file_id" type="string" required>
  The file ID to remove
</ParamField>

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE https://api.artaios.ai/api/v1/collections/coll_123/files/file_456/ \
    -H "x-api-key: YOUR_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.delete(
      "https://api.artaios.ai/api/v1/collections/coll_123/files/file_456/",
      headers={"x-api-key": "YOUR_API_KEY"}
  )
  ```
</CodeGroup>

## Response

Returns `204 No Content` on success.

<Note>
  Removing a file from a collection does not delete the file itself, only the association.
</Note>
