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
Holiday List → Cancel
AI-generatedSummary
Cancel a submitted Holiday List document in ERPNext HRMS using the specified Frappe REST API version.
Inputs
- API Version — Select the Frappe REST API version to use ('v1' or 'v2'). Defaults to 'v1'.
- Document Name (required) — The unique name or ID of the Holiday List document to cancel.
Output shape
a single JSON object containing the result message or confirmation of the cancel action
Returns the response message from the ERPNext server after successfully canceling the specified Holiday List document. Throws an error if the cancellation fails. No pagination or multiple documents supported.
Examples
Example 1: Cancel a submitted Holiday List document named 'HL-2023-12-25'.
Set Resource to 'Holiday List', Operation to 'Cancel', specify 'HL-2023-12-25' as Document Name, select API Version as needed (default 'v1').