Skip to main content
POST
Create Department

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Minimum string length: 1
code
string | null
description
string | null
headEmployeeId
string | null
isActive
boolean
default:true

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