Skip to main content
POST
/
api
/
v3
/
files
/
bulk-delete
Delete multiple files in a single request
curl --request POST \
  --url https://api.lighton.ai/api/v3/files/bulk-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    123,
    124,
    125
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request serializer for V3 bulk file deletion.

ids
integer[]
required
Required range: x >= 1

Response

Files deleted successfully (no content returned)