awork icon

awork

Automate your workflows with the awork API

Actions110

Absence → Update Absence

AI-generated

Summary

Update an existing absence record in awork by specifying its Absence ID and modifying its details such as user, start and end dates, description, external provider, and half-day settings.

Inputs

  • Absence ID (required) — The unique identifier of the absence to update.
  • User ID (required) — The identifier of the user associated with the absence.
  • Start Date (required) — The start date and time of the absence.
  • End Date (required) — The end date and time of the absence.
  • Update Fields — Additional optional fields to update, including description, external provider (which restricts editing or deleting in awork), and half-day flags for start or end of the absence.

Output shape

a single record representing the updated absence resource

The operation returns the full updated absence record. The node request options allow configuration of batching, SSL, proxy, and timeout settings.

Examples

Example 1: Update absence with half-day start and description

Provide Absence ID, User ID, Start Date, End Date; set Description and isHalfDayOnStart in Update Fields.

Links

Discussion