v1
latestSwagger 2.0BSD License2026-08-04346147268.3 KBapi
When the employee is updated, it is checked if the request contains the field is_admin to false, it is checked that at least one employee with the field is_admin to true exists and if it does not, the field is_admin is not updated.
put/api/employees/{id}
Request body
Response
OK