---
title: "PUT /train_schedule_sets/{id}"
method: PUT
path: "/train_schedule_sets/{id}"
tags: ["train_schedule_set"]
---

# PUT /train_schedule_sets/{id}

`PUT /train_schedule_sets/{id}`

## Path parameters

- `id` integer, required

## Request body

- TrainScheduleSetForm
  - `catalog_entry_id` integer, nullable
  - `description` string, required
  - `name` string, nullable
  - `published` boolean, required

## Response `200`

Train schedule set

- TrainScheduleSetResponse
  - `catalog_entry_id` integer, nullable
  - `description` string, required
  - `id` integer, required
  - `name` string, nullable
  - `published` boolean, required
  - `timetable_type` 'CALENDAR' | 'HOURLY', required
  - `train_schedule_count` integer, required

## Other responses

- `404` — Train schedule set not found

## Changes

- **2026-05-11** `abd98d1fe2e2` — 1 info
  - added the required property `allOf[#/components/schemas/TrainScheduleSet]/timetable_type` to the response with the `200` status
- **2026-05-06** `27c0526f77a6` — 1 breaking
  - removed the required property `allOf[#/components/schemas/TrainScheduleSet]/timetable_type` from the response with the `200` status
- **2026-05-05** `1c296443ffe3` — 1 info
  - added the required property `allOf[#/components/schemas/TrainScheduleSet]/timetable_type` to the response with the `200` status

[Change history](https://skmtc.dev/openrailassociation/apis/osrd-editoast/changes/train_schedule_sets/:id/put.md)

---

[API](https://skmtc.dev/openrailassociation/apis/osrd-editoast.md) · [All operations](https://skmtc.dev/openrailassociation/apis/osrd-editoast/llms.txt) · [OpenAPI document](https://skmtc.dev/openrailassociation/apis/osrd-editoast/revisions/abd98d1fe2e2?raw)
