Skip to main content
DELETE
cURL
Knowledge Graphs deployed to a specific team aren’t accessible via the API or SDK. To use a Knowledge Graph via the API or SDK, configure it with “All Teams” access in AI Studio.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.

Path Parameters

graph_id
string<uuid>
required

The unique identifier of the Knowledge Graph to which the files belong.

file_id
string
required

The unique identifier of the file.

Response

200 - application/json
id
string
required

A unique identifier of the deleted file.

deleted
boolean
required

Indicates whether the file was successfully deleted.