Kalpana Docs
Resources

Delete a batch

Delete a batch that contains no rows.

DELETE /api/batches/{batchId}

Requires batches:delete.

curl --request DELETE "https://app.kalpana.one/api/batches/bat_123" \
  --header "x-api-key: $KALPANA_API_KEY" \
  --header "content-type: application/json" \
  --data '{"workspace":"acme"}'

Returns { "success": true }. A batch that is not in the workspace returns 404. A batch that still contains rows cannot be deleted and returns 409. Delete its pending jobs first with Delete a job or the remove list of Update a batch. Finished jobs keep their files in Creatives.

Was this page helpful?

Updated 9 Nov 2026