---
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

---

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