> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Task

Updates an existing task with new values. User must have the `task.update` scope.

<Note>
  External Documentation

  To learn more, visit the [Hyperproof documentation](https://developer.hyperproof.app/api-details#api=tasks-api\&operation=update-task).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                          |
  | -------------- | ------------------------------------------------------------------------------------ |
  | Assignee ID    | The unique identifier of the assignee of the task.                                   |
  | Description    | The description of the task.                                                         |
  | Due Date       | The due date of the task.                                                            |
  | Priority       | The priority of the task.                                                            |
  | Sort Order     | The sort order of the task.                                                          |
  | Target ID      | The unique identifier of the target.                                                 |
  | Target Type    | The type of the target.                                                              |
  | Task ID        | The unique identifier of the task. Can be obtained by using the `List Tasks` action. |
  | Task Status ID | The status id of the task.                                                           |
  | Title          | The title of the task.                                                               |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "ba50096d-bbfa-47af-94a7-092b0984cf35",
	"orgId": "4c05da3f-f076-461c-8105-80a07a42ab7f",
	"title": "Submit the latest employee agreements",
	"description": "The latest employee agreements are needed for the upcoming audit.",
	"assigneeId": "ad21d858-c271-4c6d-8780-fecf6b16e534",
	"targetId": "23b802db-bad2-4f7a-b8d1-ac1177909992",
	"targetType": "control",
	"taskStatusId": "e2303b2b-5ee4-4354-92de-dfacd1d33f09",
	"priority": "medium",
	"sortOrder": 123,
	"dueDate": "2020-12-17T20:00:00Z",
	"createdOn": "2020-12-17T20:00:00Z",
	"updatedOn": "2020-12-17T20:00:00Z"
}
```

## Workflow Library Example

[Update Task with Hyperproof and Send Results Via Email](https://library.blinkops.com/workflows/update-task-with-hyperproof-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-task-with-hyperproof-and-send-results-via-email/canvas" />
</div>
