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

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

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"