Skip to main content
DELETE
/
files
/
bulk
Delete multiple files
curl --request DELETE \
  --url https://nulldrop.xyz/api/v2/files/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fileIds": [
    "abc123",
    "def456",
    "ghi789"
  ]
}'
{
  "success": true,
  "data": {
    "total": 123,
    "successful": 123,
    "failed": 123,
    "results": [
      {
        "success": true,
        "id": "<string>",
        "filename": "<string>"
      }
    ]
  },
  "_perf": 123
}

Authorizations

Authorization
string
header
required

API key authentication (format: nd_xxxxx)

Body

application/json
fileIds
string[]
required

Array of file IDs to delete (max 50)

Example:
["abc123", "def456", "ghi789"]

Response

Files processed

success
boolean
data
object
_perf
integer

Request duration in milliseconds