v1

latestOpenAPI 3.0.3BSL2026-07-17133415718.8 KB
File

Delete File

Delete a file from S3 attached to the server based on its id. This will disassociate chunks from the file, but only delete them all together if you specify delete_chunks to be true. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.

delete/api/file/{file_id}

Path parameters

file_idstring uuid required

The id of the file to delete

Query parameters

delete_chunksboolean required

Delete the chunks within the group

Headers

TR-Datasetstring uuid required

The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.

Response

Confirmation that the file has been deleted