Skip to main content
DELETE
Delete a file
Soft-delete a file. It is removed from storage immediately and returns 404 on list, retrieve, and download afterward. Deleting an input file does not stop an active batch. Full reference: Files API.

Authorizations

x-api-key
string
header
required

Headers

x-project-id
string

Optional project identifier. Scopes the request to a specific project when provided.

Path Parameters

file_id
string
required

Response

File deleted

id
string
object
enum<string>
Available options:
file
deleted
enum<boolean>
Available options:
true