---
title: "Lock an infra"
method: POST
path: "/infra/{infra_id}/lock"
tags: ["infra"]
---

# Lock an infra

`POST /infra/{infra_id}/lock`

## Path parameters

- `infra_id` integer, required

## Response `204`

The infra was locked successfully

## Other responses

- `404` — The infra was 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)
