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.
Example response
{
"deleted": true,
"id": "file-abc123",
"object": "file"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.