Remove person from department

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

Remove a user from given department.

Path parameters

  • person_id string(uuid) Required

    Person unique identifier

  • department_id string(uuid) Required

    Department unique identifier

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/b35b7fb5-df86-5776-b181-68564193d36' \
 --header "Authorization: $API_KEY"