---
title: "Update"
method: PATCH
path: "/landscapes/{landscapeId}/versions/{versionId}/diagram-groups/{diagramGroupId}"
tags: ["Diagram Groups"]
---

# Update

`PATCH /landscapes/{landscapeId}/versions/{versionId}/diagram-groups/{diagramGroupId}`

## Path parameters

- `landscapeId` string, required
- `versionId` string, required
- `diagramGroupId` string, required

## Request body

- DiagramGroupPartial
  - `commit` number
  - `index` number
  - `labels` object
  - `modelId` string
  - `name` string

## Response `200`

OK

- object
  - `diagramGroup` DiagramGroup, required
    - `commit` number, required
    - `index` number, required
    - `labels` object, required
    - `modelId` string, required
    - `name` string, required
    - `handleId` string, required
    - `createdAt` string, date-time, required
    - `createdBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `createdById` string, required
    - `deletedAt` string, date-time
    - `deletedBy` 'user' | 'api-key' | 'notification-key' | 'service'
    - `deletedById` string
    - `id` string, required
    - `landscapeId` string, required
    - `latestEntityId` string
    - `updatedAt` string, date-time, required
    - `updatedBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `updatedById` string, required
    - `version` number, required
    - `versionId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `409` — Conflict
- `422` — Unprocessable Entity
- `500` — Internal Server
- `503` — Service Unavailable

## Changes

- **2026-06-03** `181c90adca5e` — 2 warning, 2 info
  - the `labels/additionalProperties/` request property's maxLength was set to `5000`
  - the `name` request property's maxLength was set to `4000`
  - added the non-success response with the status `403`
  - added the non-success response with the status `503`

[Change history](https://skmtc.dev/icepanel/apis/icepanel-api/changes/landscapes/:landscapeId/versions/:versionId/diagram-groups/:diagramGroupId/patch.md)

---

[API](https://skmtc.dev/icepanel/apis/icepanel-api.md) · [All operations](https://skmtc.dev/icepanel/apis/icepanel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/icepanel/apis/icepanel-api/revisions/55f4e7385012?raw)
