Documentation Index
Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint permanently deletes a specific task using its hash ID. The task and its associated data will be removed from the system.
Your API authentication token. Value: Token YOUR_API_KEY
Query Parameters
The unique identifier (hash) of the task to delete. Example: c5e29d2aba8b77cdc56391e7405302de
Response Field Explanations
The deleted task’s identifier. Example: "c5e29d2aba8b77cdc56391e7405302de"
Always “task”. Example: "task"
Confirmation of deletion (true on success). Example: true
This action is permanent and cannot be undone. Task data and results will be lost.
Use Get Task first to verify you’re deleting the correct task.
Deleting a task does not affect results that have already been exported or delivered.
To remove all tasks from a squid, use the Empty Squid endpoint instead of deleting tasks one by one.
Code Examples
curl -X DELETE "https://api.lobstr.io/v1/tasks/c5e29d2aba8b77cdc56391e7405302de" \
-H "Authorization: Token YOUR_API_KEY"
Response
{
"id": "c5e29d2aba8b77cdc56391e7405302de",
"object": "task",
"deleted": true
}
{
"error": {
"message": "Task not found",
"type": "not_found_error",
"param": "task_hash"
}
}