API Reference
cURL
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 }
Remove a file from a Knowledge Graph.
Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.
Bearer <token>
<token>
The unique identifier of the Knowledge Graph to which the files belong.
The unique identifier of the file.
A unique identifier of the deleted file.
Indicates whether the file was successfully deleted.
Was this page helpful?