curl --location '/api/v1/departments?page=&size=undefined' \
--header 'Authorization: Bearer <token>'{
"status": 200,
"errorCode": null,
"message": "부서 목록 조회에 성공했습니다.",
"data": {
"content": [
{
"departmentId": "11111111-1111-1111-1111-111111111111",
"parentDepartmentId": null,
"name": "IT본부",
"memberCount": 3,
"createdAt": "2026-06-01T10:00:00",
"children": [
{
"departmentId": "22222222-2222-2222-2222-222222222222",
"parentDepartmentId": "11111111-1111-1111-1111-111111111111",
"name": "개발팀",
"memberCount": 12,
"createdAt": "2026-06-01T10:05:00",
"children": []
}
]
}
]
}
}