跳转到主要内容
PATCH
/
organization
/
{organizationId}
/
department-user
/
move
cURL
curl --request PATCH \
  --url http://127.0.0.1:3000/api/organization/{organizationId}/department-user/move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "departmentId": "<string>",
  "toDepartmentId": "<string>",
  "userIds": [
    "<string>"
  ]
}
'

授权

Authorization
string
header
必填

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

路径参数

organizationId
string
必填

请求体

application/json
departmentId
string
必填
toDepartmentId
string
必填
userIds
string[]
必填

响应

200

Move department users successfully

Last modified on December 10, 2025