Add a user to given department.

POST /actions/persons/{person_id}/departments/add

Path parameters

Responses

  • 201

    User added to given department

POST /actions/persons/{person_id}/departments/add
curl \
 -X POST http://localhost:8080/api/actions/persons/{person_id}/departments/add \
 -H "Authorization: $API_KEY"