Remove a department manager
Ends the employee’s leadership of the department and removes the department lead role of Roles & Permissions for this department; the employee’s other roles stay. An employee who does not manage the department answers 404. Requires the Locations & Departments module.
Availability: Full version and ZEP Clock
Request
DELETE /api/v1/departments/{id}/managers/{username}
curl --request DELETE \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/departments/{id}/managers/{username}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'Path parameters
- Name
id- Type
- integer
- Description
The department ID
- Name
username- Type
- string
- Description
Username of the department manager to remove.
Response
The response has no body.
Generated from the OpenAPI specification — edit the source code, not this page.