curl --request PUT \
--url https://api.absentify.com/api/v1/members/{id}/allowance/{allowance_type_id}/{year} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"allowance": 123,
"compensatory_time_off": 123,
"brought_forward": 123,
"reason": "<string>",
"overwrite_brought_forward": true,
"set_as_default": true,
"disabled": true
}
'