DELETEhttps://api.aitronos.com/v1/scrape/batch/{batch_id}
Cancel all jobs in a batch processing operation.
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token authentication |
| Parameter | Type | Required | Description |
|---|---|---|---|
batch_id | string | Yes | Batch identifier |
Status: 200 OK
| Field | Type | Description |
|---|---|---|
success | boolean | Always true for successful requests |
message | string | Success message |
batch_id | string | Cancelled batch identifier |
Bash
- Bash
- Python
- JavaScript
curl -X DELETE https://api.aitronos.com/api/v1/scrape/batch/batch_xyz789 \
-H "X-API-Key: $FREDDY_API_KEY"Response 200 OK
{
"success": true,
"message": "Batch cancelled successfully",
"batch_id": "batch_xyz789"
}