---
title: "Toggle draft status"
method: PUT
path: "/training/{id}/draft"
---

# Toggle draft status

`PUT /training/{id}/draft`

Publish or unpublish a training. Draft trainings are saved but not used by the AI.

## Path parameters

- `id` string, required

## Request body

- ToggleDraftInputDto
  - `draft` boolean, required — Set true for draft (inactive), false to publish (active)

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