Create department
This endpoint documentation is generated directly from openapi.yaml.
Endpoint
POST /departments
Operation
Operation ID: createDepartment
Create a new department
Authentication
Security requirements:
Scheme | Scopes |
|---|---|
BearerAuth | - |
Request Body
Required: yes.
Content type: application/json
{
"$ref": "#/components/schemas/DepartmentCreate"
}
Responses
Status | Description | Content Types |
|---|---|---|
201 | Department created successfully | application/json |
400 |
Schema for response 201 (application/json):
{}
17 March 2026