---
title: "Update a task dependency"
method: PATCH
path: "/api/v2/task_dependencies/{id}"
tags: ["TaskDependency"]
---

# Update a task dependency

`PATCH /api/v2/task_dependencies/{id}`

Updates a task dependency — only `type_id` is mutable. The paired reverse dependency is updated to the corresponding reverse type (Blocking ↔ Waiting on; Linked stays Linked).

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

Single task dependency

## Other responses

- `403` — Forbidden
- `422` — Unprocessable Entity

## Changes

- **2026-08-27** `bbf5057edf0d` — 2 breaking
  - added the new required request property `data/attributes/dependent_task_id`
  - added the new required request property `data/attributes/task_id`
- **2026-08-24** `4438d43d6b96` — 2 warning
  - removed the request property `data/attributes/dependent_task_id`
  - removed the request property `data/attributes/task_id`
- **2026-08-20** `8395135d78da` — 2 breaking
  - added the new required request property `data/attributes/dependent_task_id`
  - added the new required request property `data/attributes/task_id`
- **2026-08-18** `7e6cad75fd81` — 2 warning
  - removed the request property `data/attributes/dependent_task_id`
  - removed the request property `data/attributes/task_id`

[Change history](https://skmtc.dev/productive/apis/api-documentation/changes/api/v2/task_dependencies/:id/patch.md)

---

[API](https://skmtc.dev/productive/apis/api-documentation.md) · [All operations](https://skmtc.dev/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/productive/api-documentation/revisions/0e862879d77b/schema)
