---
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.net/openrailassociation/apis/osrd-editoast.md) · [All operations](https://skmtc.net/openrailassociation/apis/osrd-editoast/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrailassociation/osrd-editoast/versions/1840dbbd64ac/schema)
