v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Tasks > Task

Deletes a Task

This endpoint deletes a task.

delete/api/2026-07-01/resources/tasks/tasks/{id}

Path parameters

idstring required

id of the task.

Response

OK

idstring required

Identifier of the task

namestring required

Name of the task

company_idstring required

Company identifier of the author of the task

contentstring

Content of the task

due_onstring

Due on date of the task

assignee_idsstring[] required

Employees assigned to the task, assignee_id references to access_id

author_employee_idstring

Employee id of the author of the task

completed_atstring

Completed at date of the task

completed_by_idstring

Completed by identifier

created_atstring required
updated_atstring required

Updated at date of the task

status'todo' | 'in_progress' | 'done' | 'discarded'

Status of the task

Example response

{
  "id": "1",
  "name": "My task",
  "company_id": "1",
  "content": "Complete your performance review before Friday",
  "due_on": "2024-06-06",
  "assignee_ids": [
    "1"
  ],
  "author_employee_id": "1",
  "completed_at": "2024-01-01T00:00:00Z",
  "completed_by_id": "1",
  "created_at": "2024-01-20T18:05:45.000Z",
  "updated_at": "2024-01-20T18:05:45.000Z",
  "status": "todo"
}