Abwesenheiten
Abwesenheit zurückziehen
Self-service: employees can withdraw own pending future requests. Managers: can delete any leave request within their unit scope.
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
leaveRequest*string
The leave request ID
Format
uuidResponse-Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/leave_requests/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "message": "Antrag zurückgezogen."}Antrag genehmigen/ablehnen PUT
The route has no {employee} segment, so the manager middleware cannot enforce the unit scope — it is checked explicitly here.
Vertretung festlegen PUT
The nominated substitute confirms or declines covering the absence. Only the substitute employee themselves may respond, and only while the substitution is still pending