Skip to main content
POST
Create Leave Type

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Name of the leave type

Response

200 - application/json

Leave type created 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