---
title: "Complete Task"
method: PUT
path: "/tasks/{taskId}/complete"
tags: ["Task"]
---

# Complete Task

`PUT /tasks/{taskId}/complete`

Completes a task. The task is required to be in "inProgress" state and will be marked as "completed".

## Headers

- `Authorization` string, required
- `X-LC-Tenant` string, required

## Request body

- TaskCompleteRequest — Properties of task completion.
  - `outcome` string, required — The outcome should be one of the valid applicable outcomes of the task. If not specified, the default one will be taken.
  - `comment` string — The comment associated with this task completion.

## Response `204`

No Content

## Other responses

- `400` — Error codes: * “maxSize“: Maximum size exceeded for the value mentioned in the “name“ field on the error response.
- `401` — The user could not be identified.
- `403` — Error codes: * "forbidden": the authenticated user is not allowed to complete the task.
- `404` — Error codes: * "notFound": the task could not be found by identifier.
- `409` — Error codes: * "invalidStatus": The current task status doesn't permit this operation. * "noOwner": The current task was not accepted in advance. * "differentOwner": The current task is accepted by another user.

---

[API](https://skmtc.net/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.net/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rws/trados-cloud-platform-api/revisions/d42dac7c28a3/schema)
