cURL
curl --request DELETE \ --url https://api.bctrl.ai/v1/storage/objects \ --header 'Authorization: Bearer <token>'
{ "deletedCount": 123 }
Delete all objects in a workspace
const count = await storage.deleteAll(); console.log(`Deleted ${count} files`);