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

# Delete

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

## Request

- Base URL: `https://api.icepanel.io/v1`
- URL: `https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/diagram-groups/{diagramGroupId}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

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

## Response `200`

OK

- object
  - `commit` number, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Resource Exhausted
- `500`: Internal Server
- `503`: Service Unavailable

## Changes

- **2026-07-22** `0fe4f00b60cf`: 1 info
  - added the non-success response with the status `429`
- **2026-06-03** `181c90adca5e`: 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the non-success response with the status `503`

[Operation history](https://skmtc.dev/icepanel/apis/icepanel-api/changes/landscapes/:landscapeId/versions/:versionId/diagram-groups/:diagramGroupId/delete.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/7d1119835bbb?raw)
