Files

Delete multiple files in a single request

POST
/api/v1/files/bulk-delete

Delete multiple files in a single request.

Authorization

bearerAuth
AuthorizationBearer <token>

Console session token (Authorization: Bearer <session>) or product API key (Authorization: Bearer <api-key> or x-api-key). Session tokens are validated via Better Auth get-session; API keys against the shared database.

In: header

Header Parameters

authorization?string|null
x-api-key?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/files/bulk-delete" \  -H "Content-Type: application/json" \  -d '{    "ids": [      1    ]  }'
Empty