Skip to main content
PATCH
Cancel Leave Request

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

leave_id
string
required

Body

application/json
notes
string | null

Response

Successful Response

id
string
required
orgId
string
required
employeeId
string
required
leaveType
string
required
startDate
string
required
endDate
string
required
status
string
required
dayPart
string
default:full_day
days
number | null
reason
string | null
decisionNotes
string | null
approvedById
string | null
approvedAt
string | null
createdAt
string | null
updatedAt
string | null