---
title: "Releases the edit lock on the borehole with the given id.
Touches only BDMS.Models.Borehole.Locked and BDMS.Models.Borehole.LockedById, so it cannot race
with a concurrent full-entity edit on any other field."
method: POST
path: "/api/v{version}/borehole/{id}/unlock"
tags: ["Borehole"]
---

# Releases the edit lock on the borehole with the given id.
Touches only BDMS.Models.Borehole.Locked and BDMS.Models.Borehole.LockedById, so it cannot race
with a concurrent full-entity edit on any other field.

`POST /api/v{version}/borehole/{id}/unlock`

## Path parameters

- `id` integer, required
- `version` string, required

## Response `200`

OK

---

[API](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/versions/e6d0b4ee0f52/schema)
