---
title: "Lock a slot"
method: POST
path: "/slots/lock"
tags: ["slots"]
---

# Lock a slot

`POST /slots/lock`

## Request

- Base URL: `https://api.mijnziekenhuis.be` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mijnziekenhuis.be/slots/lock`
- Auth: HTTP bearer

Locks a slot

## Request body

- LockSlotRequestDTO
  - `sessionId` string, required
  - `agendaId` number, required
  - `start` string, required
  - `end` string, required

## Response `200`

- boolean

## Other responses

- `201`
- `500`

---

[API](https://skmtc.dev/mijnziekenhuis/apis/healthblocks.md) - [All operations](https://skmtc.dev/mijnziekenhuis/apis/healthblocks/llms.txt) - [OpenAPI document](https://skmtc.dev/mijnziekenhuis/apis/healthblocks/revisions/2da585b2afd2?raw)
