---
title: "Remove file from graph"
method: DELETE
path: "/v1/graphs/{graph_id}/file/{file_id}"
tags: ["KG API"]
---

# Remove file from graph

`DELETE /v1/graphs/{graph_id}/file/{file_id}`

Remove a file from a Knowledge Graph.

## Path parameters

- `graph_id` string, uuid, required
- `file_id` string, required

## Response `200`

- DeleteFileResponse
  - `id` string, required — A unique identifier of the deleted file.
  - `deleted` boolean, required — Indicates whether the file was successfully deleted.

---

[API](https://skmtc.dev/writer/apis/api.md) · [All operations](https://skmtc.dev/writer/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/writer/api/revisions/ae230e1d8c09/schema)
