absences
Updates the specified absence.
Changed onUpdates the specified absence with dates rounded to 00:00:00, 12:00:00, or 23:59:59 UTC to support full-day and half-day periods. The end date must be the same as or later than the start date, and overlapping absences are rejected unless the provider allows them.
Web and mobile requests cannot update absences managed by an external provider.
<Check title="Required Permissions" icon="key">The user must own the absence, be an admin, or have `user-planning-data:write` permission.</Check>
put/absences/{absenceId}
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/absences/{absenceId}
- Auth: HTTP bearer
Path parameters
absenceIdstring uuid required
The id of the absence to update.
Request body
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PutAbsenceByIdremoved and replaced withabsences_PutAbsenceById
- info