EaserixDocs
DevelopersAPI referenceCronCrunchTasks

Edit or archive a task

Owner-only. Send billable or hourlyRate as null to clear that override. Omit a field to leave it. archived hides the task from pickers. Existing entries keep the link, and the task can be chosen again after it is unarchived. There is no delete: archiving is how a task leaves the picker without breaking reports.

View as Markdown
PATCH
/v1/projects/{id}/tasks/{taskId}
AuthorizationBearer <token>

In: header

Path Parameters

id*string
taskId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/projects/string/tasks/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "task": {    "id": "string",    "projectId": "string",    "name": "string",    "billable": true,    "hourlyRate": 0,    "archived": true,    "created": "2019-08-24T14:15:22Z"  }}