---
title: "Deletes the workgroup with the specified id."
method: DELETE
path: "/api/v{version}/workgroup/{id}"
tags: ["Workgroup"]
---

# Deletes the workgroup with the specified id.

`DELETE /api/v{version}/workgroup/{id}`

## Path parameters

- `id` integer, required
- `version` string, required

## Response `200`

The workgroup was deleted successfully.

## Other responses

- `400` — The workgroup could not be updated due to invalid input.
- `401` — The current user is not authorized to delete workgroups.
- `404` — The workgroup could not be found.
- `500` — The server encountered an unexpected condition that prevented it from fulfilling the request.

---

[API](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/versions/e6d0b4ee0f52/schema)
