---
title: "PUT /api/services/app/OrganizationUnit/UpdateOrganizationUnit"
method: PUT
path: "/api/services/app/OrganizationUnit/UpdateOrganizationUnit"
tags: ["OrganizationUnit"]
---

# PUT /api/services/app/OrganizationUnit/UpdateOrganizationUnit

`PUT /api/services/app/OrganizationUnit/UpdateOrganizationUnit`

## Request body

- UpdateOrganizationUnitInput
  - `id` integer — Range 1–9.223372036854776E+18
  - `displayName` string, required — Required; Length 0–128

## Response `200`

Success

- OrganizationUnitDto
  - `id` integer
  - `creationTime` string, date-time
  - `creatorUserId` integer, nullable
  - `lastModificationTime` string, date-time, nullable
  - `lastModifierUserId` integer, nullable
  - `parentId` integer, nullable
  - `code` string, nullable
  - `displayName` string, nullable
  - `memberCount` integer
  - `roleCount` integer

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) · [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dalieu/portaldalieu-api/revisions/78dcf1621c0e/schema)
