Actions77
- Employee Actions
- Attendance Actions
- Employee Checkin Actions
- Expense Claim Actions
- Holiday List Actions
- Leave Allocation Actions
- Leave Application Actions
- Salary Slip Actions
- Shift Assignment Actions
- Custom DocType Actions
- Frappe Method Actions
Leave Application → Update
AI-generatedSummary
Update an existing Leave Application document in ERPNext HRMS by specifying the document's unique name and providing the JSON payload with the fields to update.
Inputs
- API Version — Choose the Frappe REST API version to use ('v1' or 'v2'). Defaults to 'v1'.
- Document Name (required) — The unique name (ID) of the Leave Application document to update.
- Data JSON (required) — A JSON object representing the fields and updated values to apply to the Leave Application document.
Output shape
A single JSON object representing the updated Leave Application document.
The returned output includes the updated document data as returned from the ERPNext API. The operation uses 'PUT' for API v1 and 'PATCH' for API v2.