---
title: "Changes to Update rolling_stock locked field"
method: PATCH
path: "/rolling_stock/{rolling_stock_id}/locked"
---

# Changes to Update rolling_stock locked field

`PATCH /rolling_stock/{rolling_stock_id}/locked`

> Every recorded change to this operation, newest first.
> 799 revisions in range; 24 not diffed.

## Timeline

Changed in 9 of 799 revisions.

- **2024-10-04** `aebc339f5710`: 1 breaking, 1 info
- **2024-09-03** `e87d15fe7c37`: 2 info
- **2024-07-25** `0b275352c7b2`: 1 breaking, 1 info
- **2024-04-18** `53336e02b63b`: 11 breaking, 5 info
- **2024-04-10** `dc80a27e535d`: 1 breaking, 23 info
- **2024-02-08** `d871bec5dfd2`: 1 breaking, 5 info
- **2024-02-02** `b1c5842d8ac5`: 1 info
- **2024-01-17** `de2c0988ecb1`: 1 breaking, 1 info
- **2024-01-11** `af582cc8cabc`: 1 warning, 1 info

## Changes

- **2024-10-04** `aebc339f5710`: 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `204`
- **2024-09-03** `e87d15fe7c37`: 2 info
  - added `#/components/schemas/Comfort` to the `effort_curves/modes/additionalProperties/curves/items/cond/comfort` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/RollingStockComfortType` from the `effort_curves/modes/additionalProperties/curves/items/cond/comfort` response property `allOf` list for the response status `200`
- **2024-07-25** `0b275352c7b2`: 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2024-04-18** `53336e02b63b`: 11 breaking, 5 info
  - the response property `metadata` became nullable for the status `200`
  - the `metadata` response's property type changed from `object` to no type for status `200`
  - removed the required property `metadata/detail` from the response with the `200` status
  - removed the required property `metadata/family` from the response with the `200` status
  - removed the required property `metadata/grouping` from the response with the `200` status
  - removed the required property `metadata/number` from the response with the `200` status
  - removed the required property `metadata/reference` from the response with the `200` status
  - removed the required property `metadata/series` from the response with the `200` status
  - removed the required property `metadata/subseries` from the response with the `200` status
  - removed the required property `metadata/type` from the response with the `200` status
  - removed the required property `metadata/unit` from the response with the `200` status
  - added `#/components/schemas/RollingStockMetadata` to the `metadata` response property `allOf` list for the response status `200`
  - the response property `electrical_power_startup_time` became required for the status `200`
  - the response property `energy_sources` became required for the status `200`
  - the response property `raise_pantograph_time` became required for the status `200`
  - added the required property `version` to the response with the `200` status
- **2024-04-10** `dc80a27e535d`: 1 breaking, 23 info
  - the response's body type changed from no type to `object` for status `200`
  - removed `#/components/schemas/RollingStockCommon, subschema #2` from the response body `allOf` list for the response status `200`
  - added the optional property `electrical_power_startup_time` to the response with the `200` status
  - added the optional property `energy_sources` to the response with the `200` status
  - added the optional property `raise_pantograph_time` to the response with the `200` status
  - added the required property `base_power_class` to the response with the `200` status
  - added the required property `comfort_acceleration` to the response with the `200` status
  - added the required property `effort_curves` to the response with the `200` status
  - added the required property `gamma` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `inertia_coefficient` to the response with the `200` status
  - added the required property `length` to the response with the `200` status
  - added the required property `loading_gauge` to the response with the `200` status
  - added the required property `locked` to the response with the `200` status
  - added the required property `mass` to the response with the `200` status
  - added the required property `max_speed` to the response with the `200` status
  - added the required property `metadata` to the response with the `200` status
  - added the required property `name` to the response with the `200` status
  - added the required property `power_restrictions` to the response with the `200` status
  - added the required property `railjson_version` to the response with the `200` status
  - added the required property `rolling_resistance` to the response with the `200` status
  - added the required property `startup_acceleration` to the response with the `200` status
  - added the required property `startup_time` to the response with the `200` status
  - added the required property `supported_signaling_systems` to the response with the `200` status
- **2024-02-08** `d871bec5dfd2`: 1 breaking, 5 info
  - removed the required property `allOf[#/components/schemas/RollingStockCommon]/features` from the response with the `200` status
  - the response property `allOf[#/components/schemas/RollingStockCommon]/supported_signaling_systems` became required for the status `200`
  - removed the `BAL` enum value from the `allOf[#/components/schemas/RollingStockCommon]/supported_signaling_systems/items/` response property for the response status `200`
  - removed the `BAPR` enum value from the `allOf[#/components/schemas/RollingStockCommon]/supported_signaling_systems/items/` response property for the response status `200`
  - removed the `TVM300` enum value from the `allOf[#/components/schemas/RollingStockCommon]/supported_signaling_systems/items/` response property for the response status `200`
  - removed the `TVM430` enum value from the `allOf[#/components/schemas/RollingStockCommon]/supported_signaling_systems/items/` response property for the response status `200`
- **2024-02-02** `b1c5842d8ac5`: 1 info
  - added the optional property `allOf[#/components/schemas/RollingStockCommon]/supported_signaling_systems` to the response with the `200` status
- **2024-01-17** `de2c0988ecb1`: 1 breaking, 1 info
  - added `subschema #1, subschema #2, subschema #3` to the `allOf[#/components/schemas/RollingStockCommon]/energy_sources/items/` response property `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2, subschema #3` from the `allOf[#/components/schemas/RollingStockCommon]/energy_sources/items/` response property `oneOf` list for the response status `200`
- **2024-01-11** `af582cc8cabc`: 1 warning, 1 info
  - added the new `Electrification` enum value to the `allOf[#/components/schemas/RollingStockCommon]/energy_sources/items/oneOf[subschema #1]/energy_source_type` response property for the response status `200`
  - removed the `Catenary` enum value from the `allOf[#/components/schemas/RollingStockCommon]/energy_sources/items/oneOf[subschema #1]/energy_source_type` response property for the response status `200`

---

[Operation](https://skmtc.dev/openrailassociation/apis/osrd-editoast/docs/rolling_stock/:rolling_stock_id/locked/patch.md) - [API](https://skmtc.dev/openrailassociation/apis/osrd-editoast.md) - [Page](https://skmtc.dev/openrailassociation/apis/osrd-editoast/changes/rolling_stock/:rolling_stock_id/locked/patch)
