---
title: "Changes to POST /api/v{version}/workgroup/setroles"
method: POST
path: "/api/v{version}/workgroup/setroles"
---

# Changes to POST /api/v{version}/workgroup/setroles

`POST /api/v{version}/workgroup/setroles`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 25 revisions.

- **2026-06-22** `4b5d5e7caaa2` — 6 breaking
- **2026-06-04** `237c19a934a8` — 9 breaking
- **2026-05-11** `5e166dd6e186` — 9 breaking

## Changes

- **2026-06-22** `4b5d5e7caaa2` — 6 breaking
  - the request property `items/workgroup/name` became required (media type: application/json)
  - the request property `items/workgroup/name` became required (media type: text/json)
  - the request property `items/workgroup/name` became required (media type: application/*+json)
  - the `items/workgroup/name` request property's minLength was increased from `0` to `1` (media type: application/json)
  - the `items/workgroup/name` request property's minLength was increased from `0` to `1` (media type: text/json)
  - the `items/workgroup/name` request property's minLength was increased from `0` to `1` (media type: application/*+json)
- **2026-06-04** `237c19a934a8` — 9 breaking
  - the request property `items/userId` became required (media type: application/json)
  - the request property `items/userId` became required (media type: text/json)
  - the request property `items/userId` became required (media type: application/*+json)
  - the request property `items/workgroup/id` became required (media type: application/json)
  - the request property `items/workgroup/id` became required (media type: text/json)
  - the request property `items/workgroup/id` became required (media type: application/*+json)
  - the request property `items/workgroupId` became required (media type: application/json)
  - the request property `items/workgroupId` became required (media type: text/json)
  - the request property `items/workgroupId` became required (media type: application/*+json)
  - …this revision’s changelog is incomplete
- **2026-05-11** `5e166dd6e186` — 9 breaking
  - the request property `items/userId` became required (media type: application/json)
  - the request property `items/userId` became required (media type: text/json)
  - the request property `items/userId` became required (media type: application/*+json)
  - the request property `items/workgroup/id` became required (media type: application/json)
  - the request property `items/workgroup/id` became required (media type: text/json)
  - the request property `items/workgroup/id` became required (media type: application/*+json)
  - the request property `items/workgroupId` became required (media type: application/json)
  - the request property `items/workgroupId` became required (media type: text/json)
  - the request property `items/workgroupId` became required (media type: application/*+json)
  - …this revision’s changelog is incomplete

---

[Operation](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/docs/api/v:version/workgroup/setroles/post.md) · [API](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2.md) · [Page](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/changes/api/v:version/workgroup/setroles/post)
