v1

latestOpenAPI 3.1.02026-07-14159142161.9 KB
departments (usersService)

Get department by id

Get department by id

get/company/v1/departments/{departmentId}

Response

OK

idinteger
descriptionstring
namestring
headIdstring
parentDepartmentIdstring
usersIdsstring
rolesstring[]

Example response

{
  "id": 1,
  "description": "Test department",
  "name": "Frontend department",
  "roles": [
    "OWNER",
    "Employee",
    "ADMIN"
  ]
}