---
title: "Update task"
method: PATCH
path: "/task/{id}"
---

# Update task

`PATCH /task/{id}`

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string, required — Name of task
  - `type_department` 'housekeeping' | 'inspection' | 'maintenance' | 'safety'
  - `type_priority` 'urgent' | 'high' | 'normal' | 'low' | 'watch'
  - `description` string — Description of task
  - `template_id` integer — Template ID from Breezeway system
  - `scheduled_date` string, date — Date task is scheduled; ISO 8601 format
  - `scheduled_time` string — Time task is scheduled; ISO 8601 format (HH:MM:SS)
  - `assignments` integer[] — Array of person IDs from Breezeway system
  - `tags` integer[] — Array of task tag IDs from Breezeway system
  - `subdepartment_id` integer — Subdepartment ID from Breezeway system
  - `rate_paid` number, float — Estimated rate paid
  - `rate_type` ''hourly'' | ''piece'' — Estimated rate type
  - `requested_by` ''owner'' | ''guest'' | ''guest_survey'' | ''inspector'' | ''housekeeper'' | ''maintenance_tech'' | ''property_services'' | ''property_manager'' | ''damage'' | ''internal'' | ''insurance'' | ''dispatcher'' | ''review'' | '' — Type of entity that made the request

## Response `201`

201

## Other responses

- `422` — 422

---

[API](https://skmtc.dev/breezeway/apis/breezeway-auth-api.md) · [All operations](https://skmtc.dev/breezeway/apis/breezeway-auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/breezeway/breezeway-auth-api/revisions/920ab5205e9d/schema)
