---
title: "Update Lab"
method: PUT
path: "/v1/metrics-lab/lab/{lab_id}"
tags: ["Metrics Lab"]
---

# Update Lab

`PUT /v1/metrics-lab/lab/{lab_id}`

Update a specific lab by ID.

## Path parameters

- `lab_id` string, uuid, required

## Headers

- `X-API-Key` string, required

## Request body

- UpdateLabRequest — Request model for updating a lab
  - `name` string, nullable — New name for the lab
  - `description` string, nullable — New description for the lab

## Response `200`

Successful Response

- LabResponse — Response model for lab operations
  - `id` string, required — Unique identifier of the lab
  - `name` string, required — Name of the lab
  - `description` string, nullable — Description of the lab
  - `created_at` string, date-time, required — When the lab was created
  - `updated_at` string, date-time, nullable — When the lab was last updated

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/getbluejay/apis/bluejay-api.md) · [All operations](https://skmtc.net/getbluejay/apis/bluejay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbluejay/bluejay-api/versions/f48cef80963f/schema)
