Skip to main content
POST
/
api
/
schedule
/
absences.update
Update absence
curl --request POST \
  --url https://api.example.com/api/schedule/absences.update \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872815618512410358",
  "absence_type_id": "872815618512410358",
  "percentage": 100,
  "time_ranges": [
    "12:34:56/PT2H"
  ],
  "options": {
    "schedule_on_bank_holidays": true
  },
  "remark": "<string>"
}
'

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

absence_type_id
string<snowflake>
required
Example:

"872815618512410358"

percentage
number<percentage> | null
Example:

100

time_ranges
string<local-time-interval>[] | null
options
object
remark
string | null
Maximum string length: 65535

Response

default - undefined