Skip to main content
PATCH
Update Department

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

department_id
string
required

Body

application/json

All fields optional — only provided keys are updated.

code
string | null
name
string | null
Minimum string length: 1
description
string | null
headEmployeeId
string | null
isActive
boolean | null

Response

Successful Response

id
string
required
orgId
string
required
name
string
required
isActive
boolean
required
code
string | null
description
string | null
headEmployeeId
string | null
createdAt
string | null
updatedAt
string | null