---
title: "Move a training to a directory"
method: POST
path: "/training/{id}/move"
---

# Move a training to a directory

`POST /training/{id}/move`

Move a training into a directory, or set directory_id to null to uncategorize it.

## Path parameters

- `id` string, required

## Request body

- MoveTrainingInputDto
  - `directory_id` string, nullable, required — Target directory ID, or null to uncategorize

## Response `200`

Default Response

## Other responses

- `500` — Internal Server Error

---

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