Discussions

Ask a Question
Back to All

Update absence period does not update the comment

Curl Example:

curl --request PATCH \
     --url 'https://api.personio.de/v2/absence-periods/redacted_id?skip_approval=true' \
     --header 'Beta: true' \
     --header 'accept: application/problem+json' \
     --header 'authorization: Bearer redacted_token' \
     --header 'content-type: application/json' \
     --data '
{
  "starts_from": {
    "date_time": "2025-03-06T00:00:00",
    "type": "FIRST_HALF"
  },
  "ends_at": {
    "date_time": "2025-03-08T00:00:00",
    "type": "SECOND_HALF"
  },
  "comment": "asdawdawd"
}
'

I even try to use Beta: false but it still not updating the comment