Skip to main content
POST
/
v1
/
files
/
bulk-delete
Bulk Delete Stored Files
curl --request POST \
  --url https://api.rendi.dev/v1/files/bulk-delete \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "file_ids": [
    "<string>"
  ]
}
'
{
  "deleted_file_ids": [
    "<string>"
  ]
}

Authorizations

X-API-KEY
string
header
required

Body

application/json
file_ids
string[]
required

List of file UUIDs to delete

Required array length: 1 - 1000 elements
Example:
[
"987fcdeb-a89b-43d3-b456-789012345678",
"123e4567-e89b-12d3-a456-426614174000"
]

Response

Successful Response

deleted_file_ids
string[]
required

List of file UUIDs that were successfully deleted

Example:
[
"987fcdeb-a89b-43d3-b456-789012345678",
"123e4567-e89b-12d3-a456-426614174000"
]