Skip to main content
DELETE
Delete files

Authorizations

Authorization
string
header
required

Enter your API key using the format Bearer <your-api-key>.

Body

application/json
files
string[]
required

Array of file IDs to be deleted.

Minimum array length: 1

Response

Successfully deleted the file(s).

deleted
string[]

The list of successfully deleted file IDs.

failed
object[]

The list of file IDs that failed to delete, along with the reasons.