curl --request DELETE \
--url http://localhost:3333/v1/tasks/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskIds": [
"tsk_abc123",
"tsk_def456"
]
}
'{
"deletedCount": 2
}Bulk delete multiple tasks by their IDs
curl --request DELETE \
--url http://localhost:3333/v1/tasks/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskIds": [
"tsk_abc123",
"tsk_def456"
]
}
'{
"deletedCount": 2
}Was this page helpful?