---
title: "Delete an infra and all entities linked to it."
method: DELETE
path: "/infra/{infra_id}"
tags: ["infra"]
---

# Delete an infra and all entities linked to it.

`DELETE /infra/{infra_id}`

This operation cannot be undone.

So beware.

You've been warned.

This operation may take a while to complete.

## Path parameters

- `infra_id` integer, required

## Response `204`

The infra has been deleted

## Other responses

- `404` — Infra ID not found

---

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