Skip to main content
DELETE
/
v1
/
tasks
/
bulk
Delete multiple tasks
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
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
taskIds
string[]
required
Example:
["tsk_abc123", "tsk_def456"]

Response

Tasks deleted successfully

deletedCount
number
Example:

2