---
title: "PUT /api/services/app/Department/UpdateSync"
method: PUT
path: "/api/services/app/Department/UpdateSync"
tags: ["Department"]
---

# PUT /api/services/app/Department/UpdateSync

`PUT /api/services/app/Department/UpdateSync`

## Request body

- SyncDepartmentDto
  - `id` integer
  - `name` string, required — Required; Max length 64
  - `shortName` string, required — Required; Max length 16
  - `desc` string, nullable — Length 0–256
  - `displayIndex` integer, nullable
  - `isActive` boolean
  - `sourceId` string, nullable
  - `hisSource` 0 | 1

## Response `200`

Success

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