Skip to content

Delete file

DELETE
/files/{id}

Permanently delete a file from storage. This removes both the file content and its associated metadata.

id
required
string

Unique identifier of the file to delete

File successfully deleted

Error occurred during file deletion

Error information returned by the API.

object
error

Error details.

object
message
required

Human-readable error message.

string
Example
File not found
data

Additional data related to the error, if any.

object
key
additional properties
any