Skip to main content
DELETE
/
v1
/
tasks
/
{taskId}
Delete a task
curl --request DELETE \
  --url http://localhost:3333/v1/tasks/{taskId} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "Task deleted successfully"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

taskId
string
required

Unique task identifier

Example:

"tsk_abc123def456"

Response

Task deleted successfully

success
boolean
Example:

true

message
string
Example:

"Task deleted successfully"