Skip to main content
POST
Update

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

options
object
required
absence_type_id
string<snowflake>
Example:

"872815618512410358"

percentage
number<percentage>
Example:

100

time_ranges
string<local-time-interval>[]
repetition_id
integer | null
remark
string | null

Response

200 - application/json

Absence(s) updated. When options.allow_partial is true, some absences might not be updated due to lock dates or permissions.

Result of updating absence(s).

updated_count
integer
required
updated
object
required
failed_count
integer
required
failed
object
required