Skip to main content
DELETE
/
tasks
/
{task_id}
Delete a task
curl --request DELETE \
  --url https://api.deck.co/v2/tasks/{task_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "deleted": true,
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Secret key (sk_live_...)

Path Parameters

task_id
string
required

Unique identifier for the task (prefixed with task_).

Response

OK

Confirmation object returned after a successful deletion.

id
string
required

ID of the deleted task.

object
string
required

Always task.

deleted
boolean
required

Always true for successful deletions.

request_id
string
required

Unique identifier for the API request. Include this when contacting support.