---
title: "Task change parent"
method: POST
path: "/v3/task/{id}/change-parent"
tags: ["[v3] Task"]
---

# Task change parent

`POST /v3/task/{id}/change-parent`

## Path parameters

- `id` integer, required

## Headers

- `Accept` string
- `Content-Type` string

## Request body

- object
  - `parentId` integer, required — New parent task ID. Use `0` to move the task to the root level.

## Response `200`

OK

- object
  - `message` string

## Other responses

- `400` — Validation failure
- `403` — Forbidden
- `409` — Change parent job already in progress
- `500` — Internal server error

## Changes

- **2026-08-21** `bd922e936509` — 2 breaking, 1 warning, 3 info
  - added `#/components/schemas/Common-error-message-response, #/components/schemas/Common-exposable-error-response` to the response body `oneOf` list for the response status `403`
  - the response's body type changed from `object` to no type for status `403`
  - removed the optional property `message` from the response with the `403` status
  - the response property `message` became required for the status `409`
  - …2 more

[Change history](https://skmtc.dev/timecamp/apis/timecamp-api/changes/v3/task/:id/change-parent/post.md)

---

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