Remove a user from given department.

DELETE /actions/persons/{person_id}/departments/{department_id}

Path parameters

  • person_id Required
  • department_id Required

Responses

  • 204

    User removed from given department

DELETE /actions/persons/{person_id}/departments/{department_id}
curl \
 --request DELETE 'http://api.example.com/actions/persons/a24a6ea4-ce75-4665-a070-57453082c25/departments/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY"