Timeoff > Leave
Rejects a Leave
Changed onAllows authorized users to reject employee time-off requests
post/api/2026-10-01/resources/timeoff/leaves/reject
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/timeoff/leaves/reject
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: time_off
- or API key in header x-api-key
Request body
Example request
{
"id": "1",
"reason": "Not enough notice"
}Response
OK
Example response
{
"id": "1",
"company_id": "1",
"employee_id": "1",
"start_on": "2028-09-05",
"finish_on": "2028-09-05",
"description": "Annual family vacation",
"reason": "Medical appointment",
"leave_type_id": "36",
"approved": true,
"employee_full_name": "Bob The Boss",
"start_time": "09:00",
"hours_amount_in_cents": 800,
"updated_at": "2028-03-11T17:03:12.000Z",
"created_at": "2028-03-11T17:03:12.000Z",
"deleted_at": "2028-03-11T17:03:12.000Z",
"days_taken": 1
}Changes
- info
endpoint added
- info