---
title: "PUT /channels/{channelID}/parent"
method: PUT
path: "/channels/{channelID}/parent"
tags: ["channel"]
---

# PUT /channels/{channelID}/parent

`PUT /channels/{channelID}/parent`

チャンネルの親チャンネルを変更します。

## Request body

- PutParentChannel
  - `parent` string, uuid, required — 変更後の親チャンネルID

## Response `204`

変更に成功しました。

## Other responses

- `400` — 変更に失敗しました。リクエスト内容が不正です。
- `403` — 変更に失敗しました。権限がありません。
- `404` — 変更に失敗しました。指定されたチャンネルは存在しません。
- `409` — 変更に失敗しました。チャンネル名が競合しています。

## Changes

- **2019-09-09** `f291e1b35a23` — 1 breaking
  - request body became required
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `changeChannelParent` was added
- **2019-07-05** `6956f2622a20` — 9 info
  - api operation id `changeChannelParent` removed and replaced with ``
  - endpoint reactivated
  - added optional request body
  - added the non-success response with the status `400`
  - …5 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/channels/:channelID/parent/put.md)

---

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