---
title: "POST /api/services/app/OrganizationUnit/MoveOrganizationUnit"
method: POST
path: "/api/services/app/OrganizationUnit/MoveOrganizationUnit"
tags: ["OrganizationUnit"]
---

# POST /api/services/app/OrganizationUnit/MoveOrganizationUnit

`POST /api/services/app/OrganizationUnit/MoveOrganizationUnit`

## Request body

- MoveOrganizationUnitInput
  - `id` integer — Range 1–9.223372036854776E+18
  - `newParentId` integer, nullable

## 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)
