> ## Documentation Index
> Fetch the complete documentation index at: https://api.tipee.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Update

> Updates one absence, or an entire group of repeating absences.



## OpenAPI

````yaml 26.06.25 post /api/schedule/absences.update
openapi: 3.1.0
info:
  title: tipee
  version: 26.06.25
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Timeclock
    description: Timeclock
paths:
  /api/schedule/absences.update:
    post:
      tags:
        - Schedule
      summary: Update
      description: Updates one absence, or an entire group of repeating absences.
      operationId: post_app_ui_api_schedule_schedulecommand_updateabsence
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAbsenceCommand'
      responses:
        '200':
          description: >-
            Absence(s) updated. When options.allow_partial is true, some
            absences might not be updated due to lock dates or permissions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateAbsenceResult'
components:
  schemas:
    UpdateAbsenceCommand:
      required:
        - id
        - options
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        absence_type_id:
          $ref: '#/components/schemas/Snowflake'
        percentage:
          $ref: '#/components/schemas/Percentage'
        time_ranges:
          type: array
          items:
            $ref: '#/components/schemas/LocalTimeInterval'
        options:
          $ref: '#/components/schemas/UpdateOptions'
        repetition_id:
          type:
            - integer
            - 'null'
        remark:
          type:
            - string
            - 'null'
      type: object
    UpdateAbsenceResult:
      description: Result of updating absence(s).
      required:
        - updated_count
        - updated
        - failed_count
        - failed
      properties:
        updated_count:
          type: integer
        updated:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        failed_count:
          type: integer
        failed:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    Percentage:
      type: number
      format: percentage
      example: 100
    LocalTimeInterval:
      type: string
      format: local-time-interval
      example: 12:34:56/PT2H
    UpdateOptions:
      required:
        - group_action
      properties:
        group_action:
          $ref: '#/components/schemas/GroupAction'
        allow_partial:
          type: boolean
      type: object
    GroupAction:
      type: string
      example: single
      enum:
        - single
        - future
        - all

````