Skip to main content
POST
Create an employee leave

Authorizations

Authorization
string
header
required

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

Path Parameters

employeeId
string<uuid>
required

The employee ID

Body

application/json
endDate
string<date>
required

Leave effective date (Y-m-d)

Example:

"2024-12-31"

leaveReasonId
string<uuid>
required

Leave reason ID (required)

employeeLeaveTypeId
string<uuid>
required

Employee leave type ID (voluntary/involuntary classification)

contractId
string<uuid>
required

Contract ID to terminate along with the leave

comment
string | null

Optional comment

Response

Successful response

data
object
meta
object