---
title: "Delete a rolling_stock and all entities linked to it"
method: DELETE
path: "/rolling_stock/{rolling_stock_id}"
tags: ["rolling_stock"]
---

# Delete a rolling_stock and all entities linked to it

`DELETE /rolling_stock/{rolling_stock_id}`

## Request

- Base URL: `https://demo.osrd.fr/api`
- URL: `https://demo.osrd.fr/api/rolling_stock/{rolling_stock_id}`
- Auth: none declared

## Path parameters

- `rolling_stock_id` integer, required

## Query parameters

- `force` boolean

## Response `204`

The rolling stock was deleted successfully

## Other responses

- `404`: The requested rolling stock was not found
- `409`: The requested rolling stock is used

---

[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/7c72c5e1bc0e?raw)
