Resources

Update a resource's dated absence

Replaces the window of an existing absence. Accepts the same body shape as creating an absence: starts_at and ends_at as ISO-8601 instants for a timed absence, or start_date, end_date and is_all_day: true for a whole-day absence resolved in the organisation's configured timezone.

patch/v1/resources/{resourceId}/absences/{absenceId}

Request

  • Base URL: https://api.workwing.io
  • URL: https://api.workwing.io/v1/resources/{resourceId}/absences/{absenceId}
  • Auth: HTTP bearer

Path parameters

resourceIdstring uuid required
absenceIdstring uuid required

Headers

Idempotency-Keystring required

Unique per write, 1-256 printable ASCII characters. Retrying with the same key and the same request replays the original response for 24 hours. See Idempotency.

Request body

starts_atstring
ends_atstring
start_datestring
end_datestring
is_all_dayboolean

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.