v1
latestOpenAPI 3.1.02026-07-263580186.3 KBFiles
Delete a file
Permanently delete a file and all associated data.
Requirements:
- Delete permission on the document
- Workspace must allow manual document management (not sync-only)
Public datasets: deleting a public-dataset file requires the instance-admin MANAGE_PUBLIC_DATASET permission. A workspace-scoped API key with read access (company opted in via allow_access_to_public_datasets) can see the file but gets 403, not 404, when attempting to delete it — public datasets are read-only.
Returns 204 (No Content) on success.
delete/api/v3/files/{id}
Path parameters
idinteger required
A unique integer value identifying this Document.
Response
File deleted successfully (no content returned)