---
title: "Update layer"
method: PATCH
path: "/api/layer/{layer_id}"
tags: ["Layers"]
---

# Update layer

`PATCH /api/layer/{layer_id}`

Updates properties of an existing layer. Currently supports updating
the layer's display name.

```py
result = httpx.patch(
    "https://app.mundi.ai/api/layer/L4b2c3d4e5f6",
    json={"name": "New name in layer list"},
    headers={"Authorization": f"Bearer {os.environ['MUNDI_API_KEY']}"}
).json()

assert result == {
    "layer_id": "L4b2c3d4e5f6",
    "name": "New name in layer list",
    "message": "Layer updated successfully"
}
```

## Path parameters

- `layer_id` string, required

## Request body

- LayerUpdateRequest
  - `name` string, required — New name for the layer

## Response `200`

Successful Response

- LayerUpdateResponse
  - `layer_id` string, required — ID of the updated layer
  - `name` string, required — New name of the layer

## Other responses

- `422` — Validation Error

## Changes

- **2025-09-02** `38e022d84ac1` — 1 info
  - endpoint added
- **2025-07-30** `61b2addd3ef0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/buntinglabs/apis/mundi-ai-developer-api/changes/api/layer/:layer_id/patch.md)

---

[API](https://skmtc.dev/buntinglabs/apis/mundi-ai-developer-api.md) · [All operations](https://skmtc.dev/buntinglabs/apis/mundi-ai-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/buntinglabs/mundi-ai-developer-api/revisions/a74491e93dab/schema)
