Skip to main content

Authentication

This endpoint requires authentication with a Bearer token. Only users with Super Admin or HR Manager roles can update departments.
string
required
The unique identifier of the department to update

Request Body

All fields are optional. Only include fields you want to update.
string
Department name (2-255 characters)
string
Department code (max 50 characters)
string
Department description
string
UUID of the parent department for hierarchical structure
string
Cost center identifier (max 100 characters)
string
Department status. Must be one of: active, inactive

Response

boolean
Indicates if the request was successful
object
The updated department object