PUT
/
leave_types
/
{id}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Body

application/json
allowance_type_id
string | null
color
string
icon
enum<string>
Available options:
NoIcon,
Umbrella,
Anchor,
Archive,
Award,
Briefcase,
Calendar,
Cast,
Clock,
Coffee,
Compass,
Battery,
Emoji,
Gift,
Frown,
Image,
Sun,
Zap,
Home,
Users
leave_unit
enum<string>
Available options:
days,
half_days,
hours,
minutes_30,
minutes_15,
minutes_10,
minutes_5,
minutes_1
maximum_absent
boolean
name
string
Maximum length: 255
needs_approval
boolean
outlook_synchronization_show_as
enum<string>
Available options:
free,
tentative,
busy,
oof,
workingElsewhere,
unknown
outlook_synchronization_subject
string | null
position
integer
privacy_hide_leavetype
boolean
reason_hint_text
string | null
reason_mandatory
boolean
sync_option
enum<string>
Available options:
Disabled,
All,
OnlyApproved
take_from_allowance
boolean

Response

200 - application/json

The response is of type string.