files

Delete file

Permanently delete a file.

Deleting a file also deletes any batches that were created from it. This action cannot be undone.

delete/files/{file_id}

Path parameters

file_idstring required

The file ID returned when the file was uploaded.

Response

File deleted successfully.

deletedboolean required
idstring required
object'file' required

Object type - always "file"

Example response

{
  "deleted": true,
  "id": "file-abc123",
  "object": "file"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.