---
title: "Update a task on a project"
method: PUT
path: "/v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}"
tags: ["Task"]
---

# Update a task on a project

`PUT /v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}`

## Path parameters

- `taskId` string, required — Represents a task identifier across the system.
- `workspaceId` string, required — Represents a workspace identifier across the system.
- `projectId` string, required — Represents a project identifier across the system.

## Query parameters

- `contains-assignee` boolean — Flag to set whether task will have assignee or none.
- `membership-status` 'PENDING' | 'ACTIVE' | 'DECLINED' | 'INACTIVE' | 'ALL'

## Request body

- UpdateTaskRequest
  - `assigneeId` string
  - `assigneeIds` string[] — Represents list of assignee ids for the task.
  - `billable` boolean — Indicates whether a task is billable or not.
  - `budgetEstimate` integer — Represents a task budget estimate as integer.
  - `estimate` string — Represents a task duration estimate.
  - `name` string, required — Represents task name.
  - `status` 'ACTIVE' | 'DONE' | 'ALL' — Represents task status.
  - `userGroupIds` string[] — Represents list of user group ids for the task.

## Response `200`

OK

- TaskDtoV1 — unresolved $ref

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/a5b636acbcd8/schema)
