跳转到主要内容
GET
/
organization
/
department-user
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/organization/department-user \
  --header 'Authorization: Bearer <token>'
{
  "users": [
    {
      "id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "avatar": "<string>",
      "departments": [
        {
          "id": "<string>",
          "name": "<string>",
          "path": [
            "<string>"
          ],
          "pathName": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "total": 123
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

organizationId
string
必填

查询参数

departmentId
string
includeChildrenDepartment
string
skip
示例:

0

take
示例:

50

响应

200 - application/json

Get department users successfully

users
object[]
必填
total
number
必填
Last modified on December 10, 2025