Skip to main content
POST
Create a new employee 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

Leave type name

Example:

"Early retirement"

reason
enum<string>
required

Leave reason category

Available options:
entities.employeeLeaveType.reason.voluntary,
entities.employeeLeaveType.reason.involuntary

Response

Successful response

data
object
meta
object