Skip to main content
DELETE
Delete File
Delete a file. This action marks the file as deleted and removes it from storage.
string
required
The ID of the file to delete (e.g., file-abc123).

Returns

string
The ID of the deleted file.
string
The object type, which is always file.
boolean
Confirmation that the file was deleted. Always true on success.

Return Examples

Response 200
Error 404 - File Not Found