---
title: "Changes to Acquires the edit lock on the borehole with the given id for the current user.\r\nTouches only BDMS.Models.Borehole.Locked and BDMS.Models.Borehole.LockedById, so it cannot race\r\nwith a concurrent full-entity edit on any other field."
method: POST
path: "/api/v{version}/borehole/{id}/lock"
---

# Changes to Acquires the edit lock on the borehole with the given id for the current user.
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}/lock`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 25 revisions.

- **2026-07-06** `b1597e81a725` — 1 info

## Changes

- **2026-07-06** `b1597e81a725` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/docs/api/v:version/borehole/:id/lock/post.md) · [API](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2.md) · [Page](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/changes/api/v:version/borehole/:id/lock/post)
