---
title: "Update a task"
method: PUT
path: "/task/{id}/"
tags: ["tasks"]
---

# Update a task

`PUT /task/{id}/`

The `assigned_to`, `date` (either a date or a date-time), and `is_complete` fields may be updated on all tasks. If the task type is `lead`, the `text` field may also be modified.

## Path parameters

- `id` string, required

## Query parameters

- `_fields` string

## Request body

- UpdateNotification
  - `agent_config_id` string, nullable
  - `assigned_to` string
  - `contact_id` string, nullable
  - `created_by` string
  - `date` union
    - string, date-time
    - string, date
  - `due_date` union
    - string, date-time
    - string, date
  - `is_complete` boolean
  - `is_dateless` boolean
  - `lead_id` string
  - `organization_id` string
  - `priority` 'high' | 'medium'
  - `resolution` 'abandoned' | 'skipped'
  - `text` string

## Response `200`

Successful response

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

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