Departments
Create Department
Create a new department within a company
POST
Authentication
This endpoint requires authentication with a Bearer token. Only users with Super Admin or HR Manager roles can create departments.string
required
The unique identifier of the company
Request Body
string
required
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
required
Department status. Must be one of:
active, inactiveResponse
boolean
Indicates if the request was successful
object
The created department object