api
PUT /api/employees/{id}
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.
Request
- Base URLhttps://app.haekka.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.