Skip to main content
PUT
Update Leave Type

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

leaveTypeId
integer
required

Leave type ID to update

Body

application/json
name
string
required

Name of the leave type

Response

200 - application/json

Leave type updated successfully

id
integer
name
string
type_code
string
company_id
integer | null
created_at
string<date-time>
updated_at
string<date-time>
deleted_at
string<date-time> | null
icon_name
string