Overview
Once you have exported or archived call outcomes, delete the batch to keep your workspace tidy and prevent accidental reactivation. Deleting is irreversible and removes the batch record from analytics views.
Prerequisites
- Bearer token for an administrator.
- Confirm no audits or dispute processes require the batch history.
Request
Identifier of the batch to delete.
Bearer token authorised for Calling Management.
curl --location --request DELETE '{{baseUrl}}/api/call/delete-batch/6880bac05860c9b91c53c790' \
--header 'Authorization: Bearer {{authToken}}'
Response
{
"success": true,
"message": "Batch deleted"
}
Confirms the deletion. Use it to log audit trails.
Error Handling
- 400 Bad Request – Invalid
batchId supplied.
- 401 Unauthorized – Bearer token missing or expired.
- 404 Not Found – Batch already deleted or does not belong to the workspace.
- 500 Internal Server Error – Deletion failed; retry, then escalate with the batch id.
This operation cannot be undone. Export call data with GET /api/call/export/csv before removing the batch.
Bearer token authentication for workspace access