Skip to main content
POST
/
organization
/
{organizationId}
/
department-user
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/organization/{organizationId}/department-user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "departmentIds": [
    "<string>"
  ],
  "userIds": [
    "<string>"
  ]
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

Body

application/json
departmentIds
string[]
required
userIds
string[]
required

Response

200

Add department users successfully

Last modified on December 10, 2025