Delete File

Beta

Delete a file and its bytes. A run already holding it as an attachment stops being able to read it. Dark launch: requires the durable_runs_access entitlement (402 durable_runs_not_in_plan otherwise).

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

file_idstringRequired

File id (prefixed external id, file_...).

Headers

Speechify-VersionstringOptional

Response

Deleted.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
404
Not Found Error