DELETE
/
v1
/
graphs
/
{graph_id}
/
file
/
{file_id}
curl --location --request DELETE https://api.writer.com/v1/graphs/{graph_id}/file/{file_id} \
 --header "Authorization: Bearer <token>"
{
  "id": "7c36a365-392f-43ba-840d-8f3103b42572",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

graph_id
string
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.

Was this page helpful?