---
title: "Update a task"
method: PUT
path: "/v1/resourceowner/task"
tags: ["ResourceOwnerTask"]
---

# Update a task

`PUT /v1/resourceowner/task`

Only tasks that belongs to the user has access to will be returned.

## Query parameters

- `taskId` integer

## Request body

- TaskEditModel
  - `TaskStatusType` 0 | 1
  - `Title` string

## Response `200`

The task was saved

## Other responses

- `403` — >Not authorized to task
- `500` — Internal server error

---

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