---
title: "PUT /v1/{innovationId}/tasks/{taskId}"
method: PUT
path: "/v1/{innovationId}/tasks/{taskId}"
tags: ["[v1] Innovation Tasks"]
---

# PUT /v1/{innovationId}/tasks/{taskId}

`PUT /v1/{innovationId}/tasks/{taskId}`

## Request

- Base URL: `https://nhse-${ENV}-innovation-service-innovation-functions.azurewebsites.net/api`
- URL: `https://nhse-${ENV}-innovation-service-innovation-functions.azurewebsites.net/api/v1/{innovationId}/tasks/{taskId}`
- Auth: none declared

Update an innovation task.

## Path parameters

- `innovationId` string, uuid, required
- `taskId` string, uuid, required

## Request body

- object
  - `status` union
    - 'OPEN' | 'CANCELLED'
    - 'DONE' | 'DECLINED'
  - `message` string, required

## Response `200`

The innovation task has been updated.

- object
  - `id` string, uuid, required

## Other responses

- `400`: The innovation task data is invalid.
- `401`: The user is not authorized to update the innovation task.
- `404`: The innovation task does not exist.
- `500`: An error occurred while updating the innovation task.

## Changes

- **2024-11-07** `761f95f46b23`: 4 breaking, 13 warning, 2 info
  - added the new required request property `message`
  - for the `path` request parameter `innovationId`, the format changed from no format to `uuid`
  - for the `path` request parameter `taskId`, the format changed from no format to `uuid`
  - the `status` request property type changed from `string` to no type
  - …15 more

[Operation history](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/changes/v1/:innovationId/tasks/:taskId/put.md)

---

[API](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service.md) - [All operations](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/llms.txt) - [OpenAPI document](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/revisions/c7535c8a7a65?raw)
